Introduce SendCommandMIX, to still get some varlen on old API

This commit is contained in:
Philippe Teuwen committed 2019-04-20 02:41:40 +02:00
1 parent 95822d8360
commit 3bcf80bb34
5 files changed
+37 -6

No files matched your search

+1 -1
View File
@@ -425,7 +425,7 @@ static int CmdPing(const char *Cmd) {
(void)Cmd; // Cmd is not used so far
clearCommandBuffer();
PacketResponseNG resp;
SendCommandOLD(CMD_PING, 0, 0, 0, NULL, 0);
SendCommandMIX(CMD_PING, 0, 0, 0, NULL, 0);
if (WaitForResponseTimeout(CMD_ACK, &resp, 1000))
PrintAndLogEx(NORMAL, "Ping " _GREEN_("successful"));
else