Semi-Automated SendCommand -> SendCommandOLD

This commit is contained in:
Philippe Teuwen committed 2019-04-19 23:01:13 +02:00
1 parent 128d90ca3c
commit c4766b2649
41 files changed
+543 -957

No files matched your search

+1 -3
View File
@@ -512,10 +512,8 @@ static int CmdAnalyseA(const char *Cmd) {
if (errors || cmdp == 0) return usage_analyse_a();
PacketCommandOLD c = {CMD_FPC_SEND, {0, 0, 0}, {{0}}};
memcpy(c.d.asBytes, data, USB_CMD_DATA_SIZE);
clearCommandBuffer();
SendCommand(&c);
SendCommandOLD(CMD_FPC_SEND, 0, 0, 0, data, USB_CMD_DATA_SIZE);
PacketResponseNG resp;
if (!WaitForResponseTimeout(CMD_ACK, &resp, 2500)) {