Automated upgrades SendCommandOLD/MIX 0,0,0,NULL,0 -> NG and SendCommandOLD ....,NULL,0 -> MIX

This commit is contained in:
Philippe Teuwen 2019-05-07 19:51:33 +02:00
commit 290f2b625b
43 changed files with 144 additions and 144 deletions

View file

@ -276,7 +276,7 @@ out:
static int CmdTIRead(const char *Cmd) {
(void)Cmd; // Cmd is not used so far
clearCommandBuffer();
SendCommandOLD(CMD_READ_TI_TYPE, 0, 0, 0, NULL, 0);
SendCommandNG(CMD_READ_TI_TYPE, NULL, 0);
return 0;
}
@ -294,7 +294,7 @@ static int CmdTIWrite(const char *Cmd) {
return 1;
}
clearCommandBuffer();
SendCommandOLD(CMD_WRITE_TI_TYPE, arg0, arg1, arg2, NULL, 0);
SendCommandMIX(CMD_WRITE_TI_TYPE, arg0, arg1, arg2, NULL, 0);
return 0;
}