mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 18:57:12 +08:00
remove always true cond
This commit is contained in:
parent
d50de828a1
commit
2c41a61ee3
1 changed files with 1 additions and 1 deletions
|
@ -786,7 +786,7 @@ void UsbPacketReceived(uint8_t *packet, int len) {
|
||||||
case CMD_WR_HITAG_S: //writer for Hitag tags args=data to write,page and key or challenge
|
case CMD_WR_HITAG_S: //writer for Hitag tags args=data to write,page and key or challenge
|
||||||
if ((hitag_function)c->arg[0] < 10) {
|
if ((hitag_function)c->arg[0] < 10) {
|
||||||
WritePageHitagS((hitag_function)c->arg[0], (hitag_data *)c->d.asBytes, c->arg[2]);
|
WritePageHitagS((hitag_function)c->arg[0], (hitag_data *)c->d.asBytes, c->arg[2]);
|
||||||
} else if ((hitag_function)c->arg[0] >= 10) {
|
} else {
|
||||||
WriterHitag((hitag_function)c->arg[0], (hitag_data *)c->d.asBytes, c->arg[2]);
|
WriterHitag((hitag_function)c->arg[0], (hitag_data *)c->d.asBytes, c->arg[2]);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue