mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 15:33:33 +08:00
Refactor mtd to make available to board startup
This commit is contained in:
committed by
Daniel Agar
parent
1b9ab2a3e2
commit
68ab736b16
@@ -33,6 +33,7 @@
|
||||
|
||||
#include <px4_platform_common/init.h>
|
||||
#include <px4_platform_common/px4_config.h>
|
||||
#include <px4_platform_common/px4_manifest.h>
|
||||
#include <px4_platform_common/console_buffer.h>
|
||||
#include <px4_platform_common/defines.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
@@ -119,3 +120,9 @@ int px4_platform_init(void)
|
||||
|
||||
return PX4_OK;
|
||||
}
|
||||
|
||||
int px4_platform_configure(void)
|
||||
{
|
||||
return px4_mft_configure(board_get_manifest());
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user