mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 01:13:34 +08:00
nxp_fmurt1062-v1:init Define ret indepenent of enabled IP Blocks
This commit is contained in:
committed by
Daniel Agar
parent
29eb27632a
commit
46b208ba21
@@ -289,8 +289,9 @@ __EXPORT int board_app_initialize(uintptr_t arg)
|
||||
led_off(LED_GREEN);
|
||||
led_off(LED_BLUE);
|
||||
|
||||
int ret = OK;
|
||||
#if defined(CONFIG_IMXRT_USDHC)
|
||||
int ret = fmurt1062_usdhc_initialize();
|
||||
ret = fmurt1062_usdhc_initialize();
|
||||
|
||||
if (ret != OK) {
|
||||
led_on(LED_RED);
|
||||
@@ -312,5 +313,5 @@ __EXPORT int board_app_initialize(uintptr_t arg)
|
||||
|
||||
px4_platform_configure();
|
||||
|
||||
return OK;
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user