From 237971402ae27b1b44ad89913dd5e98702312d54 Mon Sep 17 00:00:00 2001 From: Clemens Kirchgatterer Date: Sat, 23 Feb 2019 09:03:04 +0100 Subject: [PATCH] emulation on host: fix wrong tty_restore instead of restore_tty variable I don't know how this happened, sorry for the slip-up. :-/ --- 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 c7b71aac01..bb33c65616 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; }