Skip to content

Commit 21926a6

Browse files
everslickd-a-v
authored andcommitted
emulation on host: fix wrong tty_restore instead of restore_tty variable (#5809)
1 parent ef44211 commit 21926a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/host/common/ArduinoMain.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ static int mock_start_uart(void)
6363
settings.c_cc[VMIN] = 0;
6464
settings.c_cc[VTIME] = 0;
6565
if (tcsetattr(STDIN, TCSANOW, &settings) < 0) return -2;
66-
tty_restore = true;
66+
restore_tty = true;
6767
return 0;
6868
}
6969

0 commit comments

Comments
 (0)