This commit is contained in:
iceman1001 committed 2022-06-12 11:51:50 +02:00
1 parent 231faee4dd
commit 372ab2af98
9 files changed
+53 -58

No files matched your search

+2 -2
View File
@@ -1993,7 +1993,7 @@ int CmdEM4x05Sniff(const char *Cmd) {
bool fwd = arg_get_lit(ctx, 2);
CLIParserFree(ctx);
const char* cmdText;
const char *cmdText;
char dataText[100];
char blkAddr[4];
char bits[80];
@@ -2120,7 +2120,7 @@ int CmdEM4x05Sniff(const char *Cmd) {
cmdText = "Disable";
strncpy(blkAddr, " ", sizeof(blkAddr));
tmpValue = em4x05_Sniff_GetBlock(&bits[11], fwd);
snprintf(dataText, sizeof(dataText), "%08X", tmpValue);
snprintf(dataText, sizeof(dataText), "%08X", tmpValue);
}
// bits[bitidx] = 0;