Removed unused arguments from rgbww code (#2137)

This commit is contained in:
Jesse Hills
2021-08-09 16:44:52 +12:00
committed by GitHub
parent b3ae3e1feb
commit ea4a458214
4 changed files with 12 additions and 17 deletions
@@ -30,8 +30,7 @@ class RGBWWLightOutput : public light::LightOutput {
}
void write_state(light::LightState *state) override {
float red, green, blue, cwhite, wwhite;
state->current_values_as_rgbww(&red, &green, &blue, &cwhite, &wwhite, this->constant_brightness_,
this->color_interlock_);
state->current_values_as_rgbww(&red, &green, &blue, &cwhite, &wwhite, this->constant_brightness_);
this->red_->set_level(red);
this->green_->set_level(green);
this->blue_->set_level(blue);