[2.0.x] Followup to IDEX changes (#11707)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2018-09-03 23:15:31 -05:00
1 parent d62f4df0b7
commit d1ceaf5550
13 files changed
+250 -273

No files matched your search

+7 -8
View File
@@ -139,15 +139,14 @@ inline bool _enqueuecommand(const char* cmd, bool say_ok=false
*/
bool enqueue_and_echo_command(const char* cmd) {
//SERIAL_ECHO("enqueue_and_echo_command(\"");
//SERIAL_ECHO(cmd);
//SERIAL_ECHO("\") \n");
//
if ( *cmd == 0 || *cmd == '\n' || *cmd == 'r')
//{
//SERIAL_ECHO("Null command found... Did not queue!\n");
//SERIAL_ECHO("enqueue_and_echo_command(\"");
//SERIAL_ECHO(cmd);
//SERIAL_ECHO("\") \n");
if (*cmd == 0 || *cmd == '\n' || *cmd == 'r') {
//SERIAL_ECHO("Null command found... Did not queue!\n");
return true;
//}
}
if (_enqueuecommand(cmd)) {
SERIAL_ECHO_START();