Переглянути джерело

Final updates before shipping

Fred Damstra (Macbook 2015) 5 місяців тому
батько
коміт
bf14a4d095
1 змінених файлів з 1 додано та 3 видалено
  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);
 }