]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/appmain.c
FIX: Another try to see if the "lf em4x 410xsim" becomes better, added the clock...
[proxmark3-svn] / armsrc / appmain.c
index b9ad1abd84005f7a54a6c854f4bcd02bbbdddd3a..6d18561a532fe0b4342472d57e8da8c148add905 100644 (file)
@@ -948,8 +948,7 @@ void UsbPacketReceived(uint8_t *packet, int len)
 
                case CMD_DOWNLOADED_SIM_SAMPLES_125K: {
                        uint8_t *b = (uint8_t *)BigBuf;
-                       memcpy(b+c->arg[0], c->d.asBytes, 48);
-                       //Dbprintf("copied 48 bytes to %i",b+c->arg[0]);
+                       memcpy(b+c->arg[0], c->d.asBytes, USB_CMD_DATA_SIZE);
                        cmd_send(CMD_ACK,0,0,0,0,0);
                        break;
                }       
Impressum, Datenschutz