瀏覽代碼

修复固件bug

moki 6 小時之前
父節點
當前提交
fcebed3564
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      firmware/ai_light/ai_light.ino

+ 1 - 1
firmware/ai_light/ai_light.ino

@@ -509,7 +509,7 @@ void checkBootButton() {
 
 void updateStatusLed() {
   if (useMQTT) {
-    if (wifiConnected && mqttClient.connected()) {
+    if (wifiConnected) {
       digitalWrite(STATUS_PIN, LOW);
     } else {
       digitalWrite(STATUS_PIN, HIGH);