mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 06:23: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
@@ -46,9 +46,7 @@ int board_register_power_state_notification_cb(power_button_state_notification_t
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif // BOARD_HAS_POWER_CONTROL
|
||||
|
||||
#if defined(CONFIG_BOARDCTL_POWEROFF)
|
||||
int board_power_off(int status)
|
||||
{
|
||||
printf("Exiting NOW.\n");
|
||||
@@ -56,4 +54,4 @@ int board_power_off(int status)
|
||||
system_exit(0);
|
||||
return 0;
|
||||
}
|
||||
#endif // CONFIG_BOARDCTL_POWEROFF
|
||||
#endif // BOARD_HAS_POWER_CONTROL
|
||||
|
||||
Reference in New Issue
Block a user