mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
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
Block a user