diff --git a/bsp/stm32/stm32f429-atk-apollo/board/ports/sdcard_port.c b/bsp/stm32/stm32f429-atk-apollo/board/ports/sdcard_port.c index 0a9c36fd4243c3451a3047e404593369f165f77f..8779f4d489d4abd5e52b78b3e01456dd7bbc0e74 100644 --- a/bsp/stm32/stm32f429-atk-apollo/board/ports/sdcard_port.c +++ b/bsp/stm32/stm32f429-atk-apollo/board/ports/sdcard_port.c @@ -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 @@ -53,6 +54,7 @@ int stm32_sdcard_mount(void) else { LOG_E("create sd_mount thread err!"); + return RT_ERROR; } return RT_EOK; }