]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/appmain.c
Iceman's Issue #96 fix
[proxmark3-svn] / armsrc / appmain.c
index bfb4078dc9e9354117182a74d02739d867873a46..6e0b58b3da84fa7bc3e2463c47fd10bc285a9eb8 100644 (file)
@@ -648,7 +648,7 @@ void UsbPacketReceived(uint8_t *packet, int len)
                        setSamplingConfig((sample_config *) c->d.asBytes);
                        break;
                case CMD_ACQUIRE_RAW_ADC_SAMPLES_125K:
-                       cmd_send(CMD_ACK,SampleLF(),0,0,0,0);
+                       cmd_send(CMD_ACK,SampleLF(c->arg[0]),0,0,0,0);
                        break;
                case CMD_MOD_THEN_ACQUIRE_RAW_ADC_SAMPLES_125K:
                        ModThenAcquireRawAdcSamples125k(c->arg[0],c->arg[1],c->arg[2],c->d.asBytes);
@@ -668,7 +668,10 @@ void UsbPacketReceived(uint8_t *packet, int len)
                case CMD_ASK_SIM_TAG:
                        CmdASKsimTag(c->arg[0], c->arg[1], c->arg[2], c->d.asBytes);
                        break;
-                       case CMD_HID_CLONE_TAG:
+               case CMD_PSK_SIM_TAG:
+                       CmdPSKsimTag(c->arg[0], c->arg[1], c->arg[2], c->d.asBytes);
+                       break;
+               case CMD_HID_CLONE_TAG:
                        CopyHIDtoT55x7(c->arg[0], c->arg[1], c->arg[2], c->d.asBytes[0]);
                        break;
                case CMD_IO_DEMOD_FSK:
Impressum, Datenschutz