未验证 提交 1744a6d7 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #4690 from mysterywolf/simulatorformatcodes

[bsp][simulator]format codes to prevent being given a CI error
...@@ -221,7 +221,7 @@ static void sdlfb_hw_init(void) ...@@ -221,7 +221,7 @@ static void sdlfb_hw_init(void)
rt_device_register(RT_DEVICE(&_device), "sdl", RT_DEVICE_FLAG_RDWR); rt_device_register(RT_DEVICE(&_device), "sdl", RT_DEVICE_FLAG_RDWR);
sdllock = rt_mutex_create("fb", RT_IPC_FLAG_FIFO); sdllock = rt_mutex_create("fb", RT_IPC_FLAG_FIFO);
if (sdllock == RT_NULL) if (sdllock == RT_NULL)
{ {
LOG_E("Create mutex for sdlfb failed!"); LOG_E("Create mutex for sdlfb failed!");
} }
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#ifdef RT_USING_MTD_NOR #ifdef RT_USING_MTD_NOR
#define NOR_SIM "nor.bin" #define NOR_SIM "nor.bin"
/* JEDEC Manufacturers ID */ /* JEDEC Manufacturer's ID */
#define MF_ID (0xBF) #define MF_ID (0xBF)
/* JEDEC Device ID : Memory Type */ /* JEDEC Device ID : Memory Type */
#define MT_ID (0x25) #define MT_ID (0x25)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册