소스 검색

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