px4_fmu-v5:Use px4_platform_configure

This commit is contained in:
David Sidrane
2020-11-19 13:22:59 -08:00
committed by Daniel Agar
parent a60df85a09
commit 52b5856ff0

View File

@@ -219,7 +219,6 @@ __EXPORT int board_app_initialize(uintptr_t arg)
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(),
board_get_hw_type_name());
@@ -232,6 +231,7 @@ __EXPORT int board_app_initialize(uintptr_t arg)
stm32_spiinitialize();
/* Does this board have CAN 2 or CAN 3 if not decouple the RX
* from IP block Leave TX connected
*/
@@ -289,5 +289,9 @@ __EXPORT int board_app_initialize(uintptr_t arg)
#endif /* CONFIG_MMCSD */
/* Configure the HW based on the manifest */
px4_platform_configure();
return OK;
}