mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-27 02:58:31 -04:00
Plane: correct compilation with PARACHUTE==DISABLED
This commit is contained in:
parent
8b7fe2ac12
commit
847f85a081
@ -187,7 +187,9 @@ void Plane::handle_battery_failsafe(const char *type_str, const int8_t action)
|
||||
break;
|
||||
|
||||
case Failsafe_Action_Parachute:
|
||||
#if PARACHUTE == ENABLED
|
||||
parachute_release();
|
||||
#endif
|
||||
break;
|
||||
|
||||
case Failsafe_Action_None:
|
||||
|
Loading…
Reference in New Issue
Block a user