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..10d0655a3aa02ac106ff33f1ab3a9d4d36015c93 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; }