- added first version of 4x50_chk

- renamed 4x50_write_password to 4x50_writepwd
This commit is contained in:
tharexde 2020-11-01 22:44:16 +01:00
commit 3ddd9f8a91
5 changed files with 14 additions and 6 deletions

View file

@ -1090,8 +1090,8 @@ static void PacketReceived(PacketCommandNG *packet) {
em4x50_write((em4x50_data_t *)packet->data.asBytes);
break;
}
case CMD_LF_EM4X50_WRITE_PASSWORD: {
em4x50_write_password((em4x50_data_t *)packet->data.asBytes);
case CMD_LF_EM4X50_WRITEPWD: {
em4x50_writepwd((em4x50_data_t *)packet->data.asBytes);
break;
}
case CMD_LF_EM4X50_READ: {
@ -1140,6 +1140,10 @@ static void PacketReceived(PacketCommandNG *packet) {
emlSet(packet->data.asBytes, packet->oldarg[0], packet->oldarg[1]);
break;
}
case CMD_LF_EM4X50_CHK: {
em4x50_chk((uint32_t *)packet->data.asBytes);
break;
}
#endif
#ifdef WITH_ISO15693