Explorar el Código

Final updates before shipping

Fred Damstra (Macbook 2015) hace 6 meses
padre
commit
bf14a4d095
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1 3
      BackgroundRingClass.cpp

+ 1 - 3
BackgroundRingClass.cpp

@@ -87,9 +87,7 @@ int BackgroundRingClass::random_event(int copy) {
 ///////////////////////// Solid
 void BackgroundRingClass::init_solid(unsigned long color, uint8_t brightness) {
   this->action = Solid;
-  this->setBrightness(brightness);
-  this->setColor(color);
-  this->show();
+  this->setColor(color, brightness, true);
 }