AP_Parachute: params always use set method

This commit is contained in:
Iampete1 2022-07-05 04:08:56 +01:00 committed by Peter Hall
parent 28007bfc1e
commit 2241766ed6
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ const AP_Param::GroupInfo AP_Parachute::var_info[] = {
/// enabled - enable or disable parachute release
void AP_Parachute::enabled(bool on_off)
{
_enabled = on_off;
_enabled.set(on_off);
// clear release_time
_release_time = 0;