Plane: correct compilation with PARACHUTE==DISABLED

This commit is contained in:
Peter Barker 2019-08-21 10:56:45 +10:00 committed by Peter Barker
parent 8b7fe2ac12
commit 847f85a081

View File

@ -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: