fmu-v5:hrt needs to be running for ADC time out

Fixes bug introduced in 320d2e adding platform layer.
This commit is contained in:
David Sidrane
2019-08-06 04:28:04 -07:00
committed by Daniel Agar
parent 8f5b7de498
commit 0ebb87357f
+4 -2
View File
@@ -215,6 +215,10 @@ __EXPORT int board_app_initialize(uintptr_t arg)
VDD_5V_RC_EN(true);
VDD_5V_WIFI_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(),
@@ -224,8 +228,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) {