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 0a9c36fd42..8779f4d489 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; }