summaryrefslogtreecommitdiff
path: root/bsp/simulator/drivers
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-05-15 15:38:14 +0800
committerMeco Man <[email protected]>2021-05-15 15:38:14 +0800
commit69471e6242c16884762516cf8cd6a557b5ab4f50 (patch)
tree8808703f0c6b70e65877ab06fd4794b30e1bba9d /bsp/simulator/drivers
parenta896d977c171d326b932a197e3722a498546bf59 (diff)
[bsp][simulator]format codes to prevent CI errors
Diffstat (limited to 'bsp/simulator/drivers')
-rwxr-xr-xbsp/simulator/drivers/sdl_fb.c2
-rw-r--r--bsp/simulator/drivers/sst25vfxx_mtd_sim.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bsp/simulator/drivers/sdl_fb.c b/bsp/simulator/drivers/sdl_fb.c
index 7b25da9c3c..995b12219e 100755
--- a/bsp/simulator/drivers/sdl_fb.c
+++ b/bsp/simulator/drivers/sdl_fb.c
@@ -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!");
}
diff --git a/bsp/simulator/drivers/sst25vfxx_mtd_sim.c b/bsp/simulator/drivers/sst25vfxx_mtd_sim.c
index 4460e1da3b..bc44699a10 100644
--- a/bsp/simulator/drivers/sst25vfxx_mtd_sim.c
+++ b/bsp/simulator/drivers/sst25vfxx_mtd_sim.c
@@ -16,7 +16,7 @@
#ifdef RT_USING_MTD_NOR
#define NOR_SIM "nor.bin"
-/* JEDEC Manufacturer’s ID */
+/* JEDEC Manufacturer's ID */
#define MF_ID (0xBF)
/* JEDEC Device ID : Memory Type */
#define MT_ID (0x25)