summaryrefslogtreecommitdiff
path: root/bsp/simulator
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/simulator')
-rwxr-xr-xbsp/simulator/drivers/sd_sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/simulator/drivers/sd_sim.c b/bsp/simulator/drivers/sd_sim.c
index bee76d8be7..8a7619fe7e 100755
--- a/bsp/simulator/drivers/sd_sim.c
+++ b/bsp/simulator/drivers/sd_sim.c
@@ -141,7 +141,7 @@ rt_err_t rt_hw_sdcard_init(const char *spi_device_name)
device = &(sd->parent);
lock = rt_mutex_create("lock", RT_IPC_FLAG_FIFO);
- if (lock == RT_NULL)
+ if (lock == RT_NULL)
{
LOG_E("Create mutex in rt_hw_sdcard_init failed!");
return -RT_ERROR;