1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

emulation on host: fix wrong tty_restore instead of restore_tty variable (#5809)

This commit is contained in:
Clemens Kirchgatterer 2019-02-23 11:30:44 +01:00 committed by david gauchard
parent ef44211eea
commit 21926a69b6

View File

@ -63,7 +63,7 @@ static int mock_start_uart(void)
settings.c_cc[VMIN] = 0;
settings.c_cc[VTIME] = 0;
if (tcsetattr(STDIN, TCSANOW, &settings) < 0) return -2;
tty_restore = true;
restore_tty = true;
return 0;
}