]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
fixed further typo in lf t5 wr help
authormarshmellow42 <marshmellowrf@gmail.com>
Fri, 29 May 2015 03:14:06 +0000 (23:14 -0400)
committermarshmellow42 <marshmellowrf@gmail.com>
Fri, 29 May 2015 03:14:06 +0000 (23:14 -0400)
also fixed offset option char to uint8_t warning in the new offset
option in data printdemodbuffer

client/cmddata.c
client/cmdlft55xx.c

index e23b6d5979b1759aa7608e73684440f73a8032ec..76552351846713d433309c0ba9ce2c0de31617dc 100644 (file)
@@ -118,7 +118,7 @@ int CmdPrintDemodBuff(const char *Cmd)
        int numBits = (DemodBufferLen-offset) & 0x7FC; //make sure we don't exceed our string
 
        if (hexMode){
-               char *buf = DemodBuffer + offset;
+               char *buf = (char *) (DemodBuffer + offset);
                numBits = binarraytohex(hex, buf, numBits);
                if (numBits==0) return 0;
                PrintAndLog("DemodBuffer: %s",hex);             
index 1814d4ab84f99033140a933d5364e726962ed0e9..b357e71c30c50e327f42cbe346475614685da428 100644 (file)
@@ -50,23 +50,23 @@ int usage_t55xx_config(){
 }\r
 int usage_t55xx_read(){\r
        PrintAndLog("Usage:  lf t55xx read <block> <password>");\r
-    PrintAndLog("     <block>, block number to read. Between 0-7");\r
-    PrintAndLog("     <password>, OPTIONAL password (8 hex characters)");\r
-    PrintAndLog("");\r
+       PrintAndLog("     <block>, block number to read. Between 0-7");\r
+       PrintAndLog("     <password>, OPTIONAL password (8 hex characters)");\r
+       PrintAndLog("");\r
        PrintAndLog("Examples:");\r
-    PrintAndLog("      lf t55xx read 0           - read data from block 0");\r
+       PrintAndLog("      lf t55xx read 0           - read data from block 0");\r
        PrintAndLog("      lf t55xx read 0 feedbeef  - read data from block 0 password feedbeef");\r
        PrintAndLog("");\r
        return 0;\r
 }\r
 int usage_t55xx_write(){\r
        PrintAndLog("Usage:  lf t55xx wr <block> <data> [password]");\r
-    PrintAndLog("     <block>, block number to read. Between 0-7");\r
+       PrintAndLog("     <block>, block number to write. Between 0-7");\r
        PrintAndLog("     <data>,  4 bytes of data to write (8 hex characters)");\r
-    PrintAndLog("     [password], OPTIONAL password 4bytes (8 hex characters)");\r
-    PrintAndLog("");\r
+       PrintAndLog("     [password], OPTIONAL password 4bytes (8 hex characters)");\r
+       PrintAndLog("");\r
        PrintAndLog("Examples:");\r
-    PrintAndLog("      lf t55xx wr 3 11223344           - write 11223344 to block 3");\r
+       PrintAndLog("      lf t55xx wr 3 11223344           - write 11223344 to block 3");\r
        PrintAndLog("      lf t55xx wr 3 11223344 feedbeef  - write 11223344 to block 3 password feedbeef");\r
        PrintAndLog("");\r
        return 0;\r
Impressum, Datenschutz