From f9cbea343396cd228f1bb2e0a9b8e7d6bc8ee061 Mon Sep 17 00:00:00 2001 From: Robert Quattlebaum Date: Mon, 23 May 2016 15:05:14 -0700 Subject: [PATCH] cli: Don't give character value 3 (CTRL-C) any special treatment. [#57] (#64) This was originally here because of some misconfigured TTY settings, and can cause problems when running on embedded devices. Since the misconfigured TTY settings have been addressed, this check is no longer needed. --- src/cli/cli_serial.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/cli/cli_serial.cpp b/src/cli/cli_serial.cpp index 2e6fd884f..ff1dcf2ab 100644 --- a/src/cli/cli_serial.cpp +++ b/src/cli/cli_serial.cpp @@ -102,10 +102,6 @@ void Serial::ReceiveTask(void) break; - case 3: // CTRL-C - exit(1); - break; - case '\b': case 127: otPlatSerialSend(sEraseString, sizeof(sEraseString));