mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-22 02:55:20 +08:00
[bsp][simulator]format codes to prevent CI errors
This commit is contained in:
parent
a896d977c1
commit
69471e6242
@ -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 @@
|
|||||||
|
|
||||||
#ifdef RT_USING_MTD_NOR
|
#ifdef RT_USING_MTD_NOR
|
||||||
#define NOR_SIM "nor.bin"
|
#define NOR_SIM "nor.bin"
|
||||||
/* JEDEC Manufacturer’s 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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user