Notify: init RGBLed members

This commit is contained in:
Randy Mackay 2015-02-03 06:14:35 +09:00
parent 9e813948fa
commit 272768bc0f
1 changed files with 9 additions and 1 deletions

View File

@ -24,11 +24,19 @@
extern const AP_HAL::HAL& hal;
RGBLed::RGBLed(uint8_t led_off, uint8_t led_bright, uint8_t led_medium, uint8_t led_dim):
counter(0),
step(0),
_healthy(false),
_red_des(0),
_green_des(0),
_blue_des(0),
_red_curr(0),
_green_curr(0),
_blue_curr(0),
_led_off(led_off),
_led_bright(led_bright),
_led_medium(led_medium),
_led_dim(led_dim)
{
}