Explorar o código

修复固件bug

moki hai 5 horas
pai
achega
fcebed3564
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);