diff --git a/esp32_marauder/CommandLine.cpp b/esp32_marauder/CommandLine.cpp index d657e7160..2f779c74b 100644 --- a/esp32_marauder/CommandLine.cpp +++ b/esp32_marauder/CommandLine.cpp @@ -41,8 +41,8 @@ String CommandLine::getSerialInput() { } else { serial_buffer[j-1] = serial_buffer[j]; } - serial_buffer_idx--; } + serial_buffer_idx--; } Serial.print(serial_buffer[i]); }