瀏覽代碼

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

Meco Man 4 年之前
父節點
當前提交
69471e6242
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      bsp/simulator/drivers/sdl_fb.c
  2. 1 1
      bsp/simulator/drivers/sst25vfxx_mtd_sim.c

+ 1 - 1
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!");
     }

+ 1 - 1
bsp/simulator/drivers/sst25vfxx_mtd_sim.c

@@ -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)