mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 10:26:52 +08:00
fmu-v6x:Bootloader init NULL console
This commit is contained in:
committed by
Daniel Agar
parent
39b1d827d2
commit
ff87bc0fda
@@ -46,6 +46,7 @@
|
|||||||
#include <stm32_uart.h>
|
#include <stm32_uart.h>
|
||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
#include "arm_internal.h"
|
#include "arm_internal.h"
|
||||||
|
#include <px4_platform_common/init.h>
|
||||||
|
|
||||||
extern int sercon_main(int c, char **argv);
|
extern int sercon_main(int c, char **argv);
|
||||||
|
|
||||||
@@ -64,6 +65,7 @@ __EXPORT int board_app_initialize(uintptr_t arg)
|
|||||||
|
|
||||||
void board_late_initialize(void)
|
void board_late_initialize(void)
|
||||||
{
|
{
|
||||||
|
px4_platform_console_init();
|
||||||
sercon_main(0, NULL);
|
sercon_main(0, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user