mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04: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
|
/// enabled - enable or disable parachute release
|
||||||
void AP_Parachute::enabled(bool on_off)
|
void AP_Parachute::enabled(bool on_off)
|
||||||
{
|
{
|
||||||
_enabled = on_off;
|
_enabled.set(on_off);
|
||||||
|
|
||||||
// clear release_time
|
// clear release_time
|
||||||
_release_time = 0;
|
_release_time = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user