mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 09:13:34 +08:00
canbootloder:Make support for ALT Bootloader an Option
This commit is contained in:
committed by
Daniel Agar
parent
174f2624df
commit
5ea56af5f0
@@ -131,6 +131,7 @@ int board_reset(int status)
|
||||
|
||||
#endif /* CONFIG_BOARDCTL_RESET */
|
||||
|
||||
#if defined(SUPPORT_ALT_CAN_BOOTLOADER)
|
||||
/****************************************************************************
|
||||
* Name: board_booted_by_px4
|
||||
*
|
||||
@@ -152,3 +153,4 @@ bool board_booted_by_px4(void)
|
||||
|
||||
return (vectors[2] == vectors[3]) && (vectors[4] == vectors[5]);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user