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:
parent
ef44211eea
commit
21926a69b6
@ -63,7 +63,7 @@ static int mock_start_uart(void)
|
|||||||
settings.c_cc[VMIN] = 0;
|
settings.c_cc[VMIN] = 0;
|
||||||
settings.c_cc[VTIME] = 0;
|
settings.c_cc[VTIME] = 0;
|
||||||
if (tcsetattr(STDIN, TCSANOW, &settings) < 0) return -2;
|
if (tcsetattr(STDIN, TCSANOW, &settings) < 0) return -2;
|
||||||
tty_restore = true;
|
restore_tty = true;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user