[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

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);

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(<EFBFBD><EFBFBD>)<EFBFBD><EFBFBD> 0xe04b
* up key(<EFBFBD><EFBFBD>)<EFBFBD><EFBFBD> 0xe048
* right key(<EFBFBD><EFBFBD>)<EFBFBD><EFBFBD> 0xe04d
* down key(<EFBFBD><EFBFBD>)<EFBFBD><EFBFBD> 0xe050
*/
unsigned char key;