format codes
This commit is contained in:
parent
31b94778c3
commit
a00a463248
|
@ -141,7 +141,7 @@ rt_err_t rt_hw_sdcard_init(const char *spi_device_name)
|
||||||
device = &(sd->parent);
|
device = &(sd->parent);
|
||||||
|
|
||||||
lock = rt_mutex_create("lock", RT_IPC_FLAG_FIFO);
|
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!");
|
LOG_E("Create mutex in rt_hw_sdcard_init failed!");
|
||||||
return -RT_ERROR;
|
return -RT_ERROR;
|
||||||
|
|
Loading…
Reference in New Issue