mirror of https://github.com/ArduPilot/ardupilot
AP_Parachute: params always use set method
This commit is contained in:
parent
28007bfc1e
commit
2241766ed6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue