From bf85108f2fd643da6b666ba72528cf2afb8f47c3 Mon Sep 17 00:00:00 2001 From: tharexde Date: Tue, 16 Jun 2020 23:25:07 +0200 Subject: [PATCH] added write and write_password functions --- armsrc/appmain.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/armsrc/appmain.c b/armsrc/appmain.c index 0d05222de..81c6a233a 100644 --- a/armsrc/appmain.c +++ b/armsrc/appmain.c @@ -994,6 +994,14 @@ static void PacketReceived(PacketCommandNG *packet) { em4x50_info((em4x50_data_t *)packet->data.asBytes); break; } + case CMD_LF_EM4X50_WRITE: { + em4x50_write((em4x50_data_t *)packet->data.asBytes); + break; + } + case CMD_LF_EM4X50_WRITE_PASSWORD: { + em4x50_write_password((em4x50_data_t *)packet->data.asBytes); + break; + } #endif #ifdef WITH_ISO15693