AC_Sprayer: init flags

Resolves warning from Coverity
This commit is contained in:
Randy Mackay 2015-06-08 13:27:32 +09:00
parent d2f93dd379
commit 1bf0139162
1 changed files with 4 additions and 0 deletions

View File

@ -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
}