|
|
|
@ -283,6 +283,9 @@ __EXPORT int board_app_initialize(uintptr_t arg)
@@ -283,6 +283,9 @@ __EXPORT int board_app_initialize(uintptr_t arg)
|
|
|
|
|
VDD_3V3_SD_CARD_EN(true); |
|
|
|
|
VDD_3V3_SPEKTRUM_POWER_EN(true); |
|
|
|
|
|
|
|
|
|
/* Need hrt running before using the ADC */ |
|
|
|
|
|
|
|
|
|
px4_platform_init(); |
|
|
|
|
|
|
|
|
|
if (OK == board_determine_hw_info()) { |
|
|
|
|
syslog(LOG_INFO, "[boot] Rev 0x%1x : Ver 0x%1x %s\n", board_get_hw_revision(), board_get_hw_version(), |
|
|
|
@ -292,8 +295,6 @@ __EXPORT int board_app_initialize(uintptr_t arg)
@@ -292,8 +295,6 @@ __EXPORT int board_app_initialize(uintptr_t arg)
|
|
|
|
|
syslog(LOG_ERR, "[boot] Failed to read HW revision and version\n"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
px4_platform_init(); |
|
|
|
|
|
|
|
|
|
/* configure the DMA allocator */ |
|
|
|
|
|
|
|
|
|
if (board_dma_alloc_init() < 0) { |
|
|
|
|