]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/appmain.c
CHG: move some methods, its easier to read now. Cosmetic change.
[proxmark3-svn] / armsrc / appmain.c
index e092c3668ba2c2ef34ff3c46411236921b363e97..4ccb8edc8a2edbbf11ba3b9ef8458e378ae7d162 100644 (file)
@@ -980,7 +980,7 @@ void UsbPacketReceived(uint8_t *packet, int len)
                        CopyIndala224toT55x7(c->d.asDwords[0], c->d.asDwords[1], c->d.asDwords[2], c->d.asDwords[3], c->d.asDwords[4], c->d.asDwords[5], c->d.asDwords[6]);
                        break;
                case CMD_T55XX_READ_BLOCK:
-                       T55xxReadBlock(c->arg[1], c->arg[2],c->d.asBytes[0]);
+                       T55xxReadBlock(c->arg[0], c->arg[1], c->arg[2]);
                        break;
                case CMD_T55XX_WRITE_BLOCK:
                        T55xxWriteBlock(c->arg[0], c->arg[1], c->arg[2], c->d.asBytes[0]);
@@ -988,6 +988,9 @@ void UsbPacketReceived(uint8_t *packet, int len)
                case CMD_T55XX_READ_TRACE:
                        T55xxReadTrace();
                        break;
+               case CMD_T55XX_WAKEUP:
+                       T55xxWakeUp(c->arg[0]);
+                       break;
                case CMD_PCF7931_READ:
                        ReadPCF7931();
                        break;
Impressum, Datenschutz