mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-29 12:08:32 -04:00
AC_Sprayer: init flags
Resolves warning from Coverity
This commit is contained in:
parent
d2f93dd379
commit
1bf0139162
@ -65,6 +65,10 @@ AC_Sprayer::AC_Sprayer(const AP_InertialNav* inav) :
|
||||
_spinner_pwm.set_and_save(AC_SPRAYER_DEFAULT_SPINNER_PWM);
|
||||
}
|
||||
|
||||
// initialise flags
|
||||
_flags.spraying = false;
|
||||
_flags.testing = false;
|
||||
|
||||
// To-Do: ensure that the pump and spinner servo channels are enabled
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user