Browse Source

telnet: return the timer-stopping logic of the timing mark

Sergey Alirzaev 5 years ago
parent
commit
43ace17a5b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/Telnet_Server/telnet_server.c

+ 1 - 1
modules/Telnet_Server/telnet_server.c

@@ -264,7 +264,7 @@ void parseopt(telnetd_state_t *ts, uint8_t code, uint8_t option)
 			break;
 
 		case TELOPT_TIMING_MARK:
-			//xTimerStop(ts->RepeatSensorInfoTimer, 0);
+			xTimerStop(ts->cli_state->RepeatSensorInfoTimer, 0);
 			ts->flag_telnet_ip_option = true;
 			sendopt(ts, TELNET_WILL, TELOPT_TIMING_MARK);
 			sendopt(ts, TELNET_MARK, 0);