mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-21 13:53:26 -07:00
fix USB send data timing issue in CMD_DOWNLOADED_SIM_SAMPLES_125K
This commit is contained in:
parent
13a79da4e9
commit
6982ac2612
2 changed files with 20 additions and 9 deletions
|
@ -716,9 +716,12 @@ void UsbPacketReceived(BYTE *packet, int len)
|
|||
}
|
||||
|
||||
case CMD_DOWNLOADED_SIM_SAMPLES_125K: {
|
||||
UsbCommand ack;
|
||||
BYTE *b = (BYTE *)BigBuf;
|
||||
memcpy(b+c->arg[0], c->d.asBytes, 48);
|
||||
//Dbprintf("copied 48 bytes to %i",b+c->arg[0]);
|
||||
ack.cmd = CMD_ACK;
|
||||
UsbSendPacket((BYTE*)&ack, sizeof(ack));
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue