Merge pull request #4690 from mysterywolf/simulatorformatcodes

[bsp][simulator]format codes to prevent being given a CI error
This commit is contained in:
Bernard Xiong 2021-05-16 08:56:55 +08:00 committed by GitHub
commit 1744a6d7cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)