X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/9c624f67b3c3041d171abf75d954ba9fa0ae57a4..76a608af8e342b50718cfd0e53c0fa932304dbd9:/armsrc/appmain.c?ds=sidebyside diff --git a/armsrc/appmain.c b/armsrc/appmain.c index eea3857b..ee6ab7fb 100644 --- a/armsrc/appmain.c +++ b/armsrc/appmain.c @@ -9,6 +9,7 @@ // The main application code. This is the first thing called after start.c // executes. //----------------------------------------------------------------------------- +#include #include "usb_cdc.h" #include "proxmark3.h" #include "apps.h" @@ -1195,6 +1196,10 @@ void UsbPacketReceived(uint8_t *packet, int len) SniffMifare(c->arg[0]); break; + case CMD_MIFARE_SETMOD: + MifareSetMod(c->arg[0], c->d.asBytes); + break; + //mifare desfire case CMD_MIFARE_DESFIRE_READBL: break; case CMD_MIFARE_DESFIRE_WRITEBL: break; @@ -1233,9 +1238,6 @@ void UsbPacketReceived(uint8_t *packet, int len) case CMD_EMV_READ_RECORD: EMVReadRecord(c->arg[0], c->arg[1], NULL); break; - case CMD_EMV_TRANSACTION: - EMVTransaction(); - break; case CMD_EMV_CLONE: EMVClone(c->arg[0], c->arg[1]); break;