Răsfoiți Sursa

fixed LED init

Andrew Tridgell 3 ani în urmă
părinte
comite
1dc25194d8
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      RemoteIDModule/led.cpp

+ 2 - 0
RemoteIDModule/led.cpp

@@ -21,6 +21,8 @@ void Led::init(void)
 
 void Led::update(void)
 {
+    init();
+
     const uint32_t now_ms = millis();
 
 #ifdef PIN_STATUS_LED