From bac58d2a66a9ed3fc72e4ca342db34e30556fae7 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Tue, 7 Sep 2021 10:18:05 +0200 Subject: [PATCH] minor, to respect symmetry with writeblock --- client/src/cmdhflist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/cmdhflist.c b/client/src/cmdhflist.c index 038d0b50a..615695667 100644 --- a/client/src/cmdhflist.c +++ b/client/src/cmdhflist.c @@ -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;