From 21926a69b683745f46c0d7e1dd8135b79faa698b Mon Sep 17 00:00:00 2001 From: Clemens Kirchgatterer Date: Sat, 23 Feb 2019 11:30:44 +0100 Subject: [PATCH] emulation on host: fix wrong tty_restore instead of restore_tty variable (#5809) --- tests/host/common/ArduinoMain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/host/common/ArduinoMain.cpp b/tests/host/common/ArduinoMain.cpp index c7b71aac0..bb33c6561 100644 --- a/tests/host/common/ArduinoMain.cpp +++ b/tests/host/common/ArduinoMain.cpp @@ -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; }