mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-12 20:24:15 +08:00
[BSP] fix compiling issue in simulator for Linux
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user