From a65ee8ac451723e149a5b6d6d43ee1c3ac37549b Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Fri, 2 Oct 2015 08:16:15 +0800 Subject: [PATCH] [BSP] disable module feature under simulator for Linux --- bsp/simulator/drivers/uart_console.c | 2 +- bsp/simulator/rtconfig.h | 2 +- 2 files changed, 2 insertions(+), 2 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); diff --git a/bsp/simulator/rtconfig.h b/bsp/simulator/rtconfig.h index 2555fc11da..aa839f5621 100755 --- a/bsp/simulator/rtconfig.h +++ b/bsp/simulator/rtconfig.h @@ -99,7 +99,7 @@ // // #define RT_USING_PTHREADS // -#define RT_USING_MODULE +// #define RT_USING_MODULE // //