From 1ac6bc6c889f5f6760893a7aab33873ebe9dfe69 Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Wed, 30 Sep 2015 10:21:55 +0000 Subject: [PATCH] [BSP] fix compiling issue in simulator for Linux --- bsp/simulator/drivers/module_win32.c | 2 +- bsp/simulator/drivers/uart_console.c | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/bsp/simulator/drivers/module_win32.c b/bsp/simulator/drivers/module_win32.c index 83e9304ff7..0c998eed2c 100644 --- a/bsp/simulator/drivers/module_win32.c +++ b/bsp/simulator/drivers/module_win32.c @@ -17,7 +17,7 @@ #include #ifdef RT_USING_MODULE -static void rt_module_init_object_container(struct rt_module *module) +void rt_module_init_object_container(struct rt_module *module) { RT_ASSERT(module != RT_NULL); diff --git a/bsp/simulator/drivers/uart_console.c b/bsp/simulator/drivers/uart_console.c index 95a9cb11dd..283ac83a05 100644 --- a/bsp/simulator/drivers/uart_console.c +++ b/bsp/simulator/drivers/uart_console.c @@ -5,8 +5,6 @@ #include #include -#include - /* uart driver */ struct console_uart { @@ -110,10 +108,10 @@ static void * ThreadforKeyGet(void * lpParam) #endif /* not _WIN32*/ { /* - * left key(¡û)£º 0xe04b - * up key(¡ü)£º 0xe048 - * right key(¡ú)£º 0xe04d - * down key(¡ý)£º 0xe050 + * left key(��)�� 0xe04b + * up key(��)�� 0xe048 + * right key(��)�� 0xe04d + * down key(��)�� 0xe050 */ unsigned char key;