]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/appmain.c
CHG: extern methods.
[proxmark3-svn] / armsrc / appmain.c
index eea3857b078445805d62e05d4e3240e50403e9a3..ee6ab7fbb6fbde98f662446a81a54b5df8b2a097 100644 (file)
@@ -9,6 +9,7 @@
 // The main application code. This is the first thing called after start.c
 // executes.
 //-----------------------------------------------------------------------------
+#include <stdarg.h>
 #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;
Impressum, Datenschutz