Step 2 - Ultralight / Ultralight-C
With this the Pentura Labs / Midnitsnakes's original ultralight / ultralight-c implementation is enhanced and move to its own file. cmdhfmfu.c
This commit is contained in:
@@ -280,7 +280,7 @@ int CmdHF14BCmdRaw (const char *cmd) {
|
||||
uint8_t power=0;
|
||||
char buf[5]="";
|
||||
int i=0;
|
||||
uint8_t data[100];
|
||||
uint8_t data[100] = {0x00};
|
||||
unsigned int datalen=0, temp;
|
||||
char *hexout;
|
||||
|
||||
@@ -334,7 +334,7 @@ int CmdHF14BCmdRaw (const char *cmd) {
|
||||
continue;
|
||||
}
|
||||
PrintAndLog("Invalid char on input");
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
if (datalen == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user