diff options
| author | Bernard Xiong <[email protected]> | 2021-02-20 12:19:01 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-20 12:19:01 +0800 |
| commit | 2eaff5b829ae80b2c02b02a21bb7013beb6f9dab (patch) | |
| tree | 14c7e9dc070b740bb05fdb00ea4356dfc1f7f0a1 | |
| parent | 4094b0e398d0ee157522ba4f450ff7fdb17ac4fd (diff) | |
| parent | e39789ecd0e7860064740a9c3303d41e3a5ac84f (diff) | |
Merge pull request #4353 from DavidLin1577/patch-8
Fixed the return value bug in sdcard_port.c
| -rw-r--r-- | bsp/stm32/stm32f429-atk-apollo/board/ports/sdcard_port.c | 2 |
1 files changed, 2 insertions, 0 deletions
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..10d0655a3a 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 <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; } |
