|
|
@ -429,7 +429,7 @@ void enquecommand(const char *cmd)
|
|
|
|
//this is dangerous if a mixing of serial and this happens
|
|
|
|
//this is dangerous if a mixing of serial and this happens
|
|
|
|
strcpy(&(cmdbuffer[bufindw][0]),cmd);
|
|
|
|
strcpy(&(cmdbuffer[bufindw][0]),cmd);
|
|
|
|
SERIAL_ECHO_START;
|
|
|
|
SERIAL_ECHO_START;
|
|
|
|
SERIAL_ECHOPGM("enqueing \"");
|
|
|
|
SERIAL_ECHOPGM(MSG_Enqueing);
|
|
|
|
SERIAL_ECHO(cmdbuffer[bufindw]);
|
|
|
|
SERIAL_ECHO(cmdbuffer[bufindw]);
|
|
|
|
SERIAL_ECHOLNPGM("\"");
|
|
|
|
SERIAL_ECHOLNPGM("\"");
|
|
|
|
bufindw= (bufindw + 1)%BUFSIZE;
|
|
|
|
bufindw= (bufindw + 1)%BUFSIZE;
|
|
|
@ -444,7 +444,7 @@ void enquecommand_P(const char *cmd)
|
|
|
|
//this is dangerous if a mixing of serial and this happens
|
|
|
|
//this is dangerous if a mixing of serial and this happens
|
|
|
|
strcpy_P(&(cmdbuffer[bufindw][0]),cmd);
|
|
|
|
strcpy_P(&(cmdbuffer[bufindw][0]),cmd);
|
|
|
|
SERIAL_ECHO_START;
|
|
|
|
SERIAL_ECHO_START;
|
|
|
|
SERIAL_ECHOPGM("enqueing \"");
|
|
|
|
SERIAL_ECHOPGM(MSG_Enqueing);
|
|
|
|
SERIAL_ECHO(cmdbuffer[bufindw]);
|
|
|
|
SERIAL_ECHO(cmdbuffer[bufindw]);
|
|
|
|
SERIAL_ECHOLNPGM("\"");
|
|
|
|
SERIAL_ECHOLNPGM("\"");
|
|
|
|
bufindw= (bufindw + 1)%BUFSIZE;
|
|
|
|
bufindw= (bufindw + 1)%BUFSIZE;
|
|
|
|