mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
px4_fmu-v5:Use px4_platform_configure
This commit is contained in:
committed by
Daniel Agar
parent
a60df85a09
commit
52b5856ff0
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user