mirror of https://github.com/ArduPilot/ardupilot
AP_Parachute: added arming check for chute released
This commit is contained in:
parent
734edd8085
commit
c5ff9ac23f
|
@ -209,6 +209,10 @@ bool AP_Parachute::arming_checks(size_t buflen, char *buffer) const
|
|||
hal.util->snprintf(buffer, buflen, "Chute invalid relay %d", int(_release_type));
|
||||
return false;
|
||||
}
|
||||
if (_release_initiated) {
|
||||
hal.util->snprintf(buffer, buflen, "Chute is released");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue