mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
cubeorange:Bootloader init NULL console
This commit is contained in:
parent
1fa1f8c2c5
commit
39b1d827d2
@ -46,6 +46,7 @@
|
||||
#include <stm32_uart.h>
|
||||
#include <arch/board/board.h>
|
||||
#include "arm_internal.h"
|
||||
#include <px4_platform_common/init.h>
|
||||
|
||||
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)
|
||||
{
|
||||
px4_platform_console_init();
|
||||
sercon_main(0, NULL);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user