瀏覽代碼

fixed LED init

Andrew Tridgell 3 年之前
父節點
當前提交
1dc25194d8
共有 1 個文件被更改,包括 2 次插入0 次删除
  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