diff options
| author | Bernard Xiong <[email protected]> | 2015-10-02 08:16:15 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2015-10-02 08:16:15 +0800 |
| commit | a65ee8ac451723e149a5b6d6d43ee1c3ac37549b (patch) | |
| tree | 0e5ee4b94e2da9e40dfa744e5863c5e87d56a0ee /bsp/simulator/drivers | |
| parent | d2ec1f3eaac98e693414e46fe236edf140c5e6f0 (diff) | |
[BSP] disable module feature under simulator for Linux
Diffstat (limited to 'bsp/simulator/drivers')
| -rw-r--r-- | bsp/simulator/drivers/uart_console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/simulator/drivers/uart_console.c b/bsp/simulator/drivers/uart_console.c index 283ac83a05..913daf2311 100644 --- a/bsp/simulator/drivers/uart_console.c +++ b/bsp/simulator/drivers/uart_console.c @@ -97,7 +97,7 @@ static void set_stty(void) tcsetattr(STDIN_FILENO, TCSANOW, &newt); } -static void restore_stty(void) +void restore_stty(void) { /* recover terminal's attribute */ tcsetattr(STDIN_FILENO, TCSANOW, &oldt); |
