Explorar el Código

Update sdcard_port.c

David Lin hace 4 años
padre
commit
e39789ecd0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      bsp/stm32/stm32f429-atk-apollo/board/ports/sdcard_port.c

+ 1 - 1
bsp/stm32/stm32f429-atk-apollo/board/ports/sdcard_port.c

@@ -54,7 +54,7 @@ int stm32_sdcard_mount(void)
     else
     {
         LOG_E("create sd_mount thread err!");
-        return RT_ERROR;
+        return -RT_ERROR;
     }
     return RT_EOK;
 }