aboutsummaryrefslogtreecommitdiff
path: root/cc3200/telnet/telnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'cc3200/telnet/telnet.c')
-rw-r--r--cc3200/telnet/telnet.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/cc3200/telnet/telnet.c b/cc3200/telnet/telnet.c
index 31037aed2..694145cc2 100644
--- a/cc3200/telnet/telnet.c
+++ b/cc3200/telnet/telnet.c
@@ -36,7 +36,6 @@
#include "debug.h"
#include "mpexception.h"
#include "serverstask.h"
-#include "mperror.h"
#include "genhdr/py-version.h"
@@ -429,7 +428,7 @@ static void telnet_parse_input (uint8_t *str, int16_t *len) {
for (uint8_t *_str = b_str; _str < b_str + b_len; ) {
if (*_str <= 127) {
if (telnet_data.state == E_TELNET_STE_LOGGED_IN && *_str == user_interrupt_char) {
- // raise keyboard exception
+ // raise a keyboard exception
mpexception_keyboard_nlr_jump();
(*len)--;
_str++;
@@ -461,10 +460,6 @@ static bool telnet_send_with_retries (int16_t sd, const void *pBuf, int16_t len)
HAL_Delay (TELNET_WAIT_TIME_MS);
} while (++retries <= TELNET_TX_RETRIES_MAX);
}
- else {
- // blink the system led
- mperror_signal_error();
- }
return false;
}