Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 21926a6

Browse files
everslickd-a-v
authored andcommittedFeb 23, 2019
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

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.