fix: 'lf t55xx write' - wrong bitshift

This commit is contained in:
iceman1001 committed 2019-05-13 13:36:54 +02:00
1 parent d2a4ade2af
commit 801cb95967
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1103,7 +1103,7 @@ static int CmdT55xxWriteBlock(const char *Cmd) {
ng.flags = flags;
SendCommandNG(CMD_T55XX_WRITE_BLOCK, (uint8_t *)&ng, sizeof(ng));
if (!WaitForResponseTimeout(CMD_T55XX_WRITE_BLOCK, &resp, 1500)) {
if (!WaitForResponseTimeout(CMD_T55XX_WRITE_BLOCK, &resp, 2000)) {
PrintAndLogEx(WARNING, "Error occurred, device did not ACK write operation. (May be due to old firmware)");
return 0;
}