فهرست منبع

Final updates before shipping

Fred Damstra (Macbook 2015) 6 ماه پیش
والد
کامیت
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);
 }