canbootloder:Make support for ALT Bootloader an Option

This commit is contained in:
David Sidrane
2021-02-17 22:47:35 -05:00
committed by Daniel Agar
parent 174f2624df
commit 5ea56af5f0
6 changed files with 23 additions and 10 deletions
@@ -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