Skip to content

Commit

Permalink
Fix for issue robertinant#56
Browse files Browse the repository at this point in the history
  • Loading branch information
Rei Vilo committed Jun 2, 2020
1 parent ea7fef9 commit 09c89ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/shared/examples/10.MultiTasking/Monitor/Monitor.ino
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ void mon_setup(void)
{
Serial.begin(9600);
Serial.println("Welcome! This is the Serial debug console.");
Serial.println("Type help for list of commands");
}

#define UP_ARROW 0x0b /* ctrl K */
Expand All @@ -152,6 +153,7 @@ void mon_loop()
int escape_index = 0;

while (true) {
if (!Serial.available()) continue;
char c = Serial.read();

if (escape_index) {
Expand Down Expand Up @@ -861,4 +863,4 @@ static int consoleHandler_pri(const char *line)
}

#endif /* PRI_CMD */


0 comments on commit 09c89ea

Please sign in to comment.