Browse Source

fixed LED init

Andrew Tridgell 3 năm trước cách đây
mục cha
commit
1dc25194d8
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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