mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-30 12:38:33 -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;
|
break;
|
||||||
|
|
||||||
case Failsafe_Action_Parachute:
|
case Failsafe_Action_Parachute:
|
||||||
|
#if PARACHUTE == ENABLED
|
||||||
parachute_release();
|
parachute_release();
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Failsafe_Action_None:
|
case Failsafe_Action_None:
|
||||||
|
Loading…
Reference in New Issue
Block a user