Преглед на файлове

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

Sergey Alirzaev преди 5 години
родител
ревизия
43ace17a5b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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);