summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-05-15 15:35:45 +0800
committerMeco Man <[email protected]>2021-05-15 15:35:45 +0800
commita00a463248bc66cff04e098c2440e90bf7ea273e (patch)
tree31f86a463798c8a2069ad72e5441bff3250dc1a4 /bsp
parent31b94778c3ee4e1430e6d578bda1e233de05ae40 (diff)
format codes
Diffstat (limited to 'bsp')
-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;