chg 'hf iclass list' - fix parity checks

This commit is contained in:
iceman1001 2019-09-11 14:03:14 +02:00
commit 387dd82895
2 changed files with 13 additions and 5 deletions

View file

@ -329,10 +329,6 @@ void annotateIclass(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize) {
parity ^= (cmd[0] >> i) & 1;
}
if ( parity == ((cmd[0] >> 7) & 1) ) {
printf("Calc %d, cmd %02x, Par %d \n", parity, cmd[0], (cmd[0] >> 7) & 1);
}
switch (c) {
case ICLASS_CMD_HALT:
snprintf(exp, size, "HALT");