Skip to content

Commit 1ac6bc6

Browse files
committed
[BSP] fix compiling issue in simulator for Linux
1 parent cdf4c7e commit 1ac6bc6

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

bsp/simulator/drivers/module_win32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include <rtm.h>
1818

1919
#ifdef RT_USING_MODULE
20-
static void rt_module_init_object_container(struct rt_module *module)
20+
void rt_module_init_object_container(struct rt_module *module)
2121
{
2222
RT_ASSERT(module != RT_NULL);
2323

bsp/simulator/drivers/uart_console.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
#include <rtthread.h>
66
#include <rtdevice.h>
77

8-
#include <cpu_port.h>
9-
108
/* uart driver */
119
struct console_uart
1210
{
@@ -110,10 +108,10 @@ static void * ThreadforKeyGet(void * lpParam)
110108
#endif /* not _WIN32*/
111109
{
112110
/*
113-
* left key(¡û)£º 0xe04b
114-
* up key(¡ü)£º 0xe048
115-
* right key(¡ú)£º 0xe04d
116-
* down key(¡ý)£º 0xe050
111+
* left key(��)�� 0xe04b
112+
* up key(��)�� 0xe048
113+
* right key(��)�� 0xe04d
114+
* down key(��)�� 0xe050
117115
*/
118116
unsigned char key;
119117

0 commit comments

Comments
 (0)