forked from Archive/PX4-Autopilot
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…
Reference in New Issue