mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 07:03:34 +08:00
boards: Advanced Technology Labs (ATL) Mantis EDU support and airfarme (SYS_AUTOSTART 4061)
Co-authored-by: Julian Oes <julian@oes.ch> Co-authored-by: Daniel Agar <daniel@agar.ca>
This commit is contained in:
co-authored by
Julian Oes
parent
8f64f7ce90
commit
e900f2ea54
@@ -560,9 +560,9 @@ __EXPORT void board_on_reset(int status);
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_BOARDCTL_POWEROFF
|
||||
#if defined(BOARD_HAS_POWER_CONTROL)
|
||||
int board_power_off(int status);
|
||||
#endif
|
||||
#endif // BOARD_HAS_POWER_CONTROL
|
||||
|
||||
/****************************************************************************
|
||||
* Name: board_reset
|
||||
|
||||
@@ -97,9 +97,9 @@ __EXPORT int px4_reboot_request(bool to_bootloader = false, uint32_t delay_us =
|
||||
* @param delay_us optional delay in microseconds
|
||||
* @return 0 on success, <0 on error
|
||||
*/
|
||||
#if defined(CONFIG_BOARDCTL_POWEROFF) || defined(__PX4_POSIX)
|
||||
#if defined(BOARD_HAS_POWER_CONTROL) || defined(__PX4_POSIX)
|
||||
__EXPORT int px4_shutdown_request(uint32_t delay_us = 0);
|
||||
#endif // CONFIG_BOARDCTL_POWEROFF
|
||||
#endif // BOARD_HAS_POWER_CONTROL
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user