X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/99136c6eefdc8f1bba10ece22572e471b6deebb1..76a608af8e342b50718cfd0e53c0fa932304dbd9:/armsrc/appmain.c diff --git a/armsrc/appmain.c b/armsrc/appmain.c index d976febc..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;