minor, to respect symmetry with writeblock

This commit is contained in:
Philippe Teuwen 2021-09-07 10:18:05 +02:00
commit bac58d2a66

View file

@ -472,8 +472,8 @@ void annotateIso15693(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize) {
uint8_t block = 0;
if (cmdsize == 5)
block = cmd[2];
else if (cmdsize == 13) // with UID
block = cmd[10];
else if (cmdsize == 5 + 8) // with UID
block = cmd[2 + 8];
snprintf(exp, size, "READBLOCK(%d)", block);
return;