don't send ok with response to $G
authorJim Morris <morris@wolfman.com>
Sun, 30 Sep 2018 20:23:34 +0000 (21:23 +0100)
committerJim Morris <morris@wolfman.com>
Sun, 30 Sep 2018 20:23:34 +0000 (21:23 +0100)
src/modules/utils/simpleshell/SimpleShell.cpp

index e05942a..2e8361d 100644 (file)
@@ -216,7 +216,7 @@ void SimpleShell::on_console_line_received( void *argument )
             case 'G':
                 // issue get state
                 get_command("state", new_message.stream);
-                new_message.stream->printf("ok\n");
+                //new_message.stream->printf("ok\n"); // sending this while printing will cause ok count to get out of sync
                 break;
 
             case 'X':