[BSP] fix compiling issue in simulator for Linux

This commit is contained in:
Bernard Xiong
2015-09-30 10:21:55 +00:00
parent cdf4c7e897
commit 1ac6bc6c88
2 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
#include <rtm.h>
#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);
+4 -6
View File
@@ -5,8 +5,6 @@
#include <rtthread.h>
#include <rtdevice.h>
#include <cpu_port.h>
/* 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;