[bsp][simulator]format codes to prevent CI errors

This commit is contained in:
Meco Man 2021-05-15 15:38:14 +08:00
parent a896d977c1
commit 69471e6242
2 changed files with 2 additions and 2 deletions

View File

@ -221,7 +221,7 @@ static void sdlfb_hw_init(void)
rt_device_register(RT_DEVICE(&_device), "sdl", RT_DEVICE_FLAG_RDWR);
sdllock = rt_mutex_create("fb", RT_IPC_FLAG_FIFO);
if (sdllock == RT_NULL)
if (sdllock == RT_NULL)
{
LOG_E("Create mutex for sdlfb failed!");
}

View File

@ -16,7 +16,7 @@
#ifdef RT_USING_MTD_NOR
#define NOR_SIM "nor.bin"
/* JEDEC Manufacturers ID */
/* JEDEC Manufacturer's ID */
#define MF_ID (0xBF)
/* JEDEC Device ID : Memory Type */
#define MT_ID (0x25)