Fixed the return value bug in sdcard_port.c

Fixed the return value bug in sdcard_port.c
This commit is contained in:
David Lin 2021-02-18 23:46:42 +08:00 committed by GitHub
parent e596921019
commit 68e0d3a19d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@
* Change Logs:
* Date Author Notes
* 2018-12-13 balanceTWK add sdcard port file
* 2021-02-18 DavidLin Fixed the return bug
*/
#include <rtthread.h>
@ -53,6 +54,7 @@ int stm32_sdcard_mount(void)
else
{
LOG_E("create sd_mount thread err!");
return RT_ERROR;
}
return RT_EOK;
}