Explorar el Código

修复固件bug

moki hace 8 horas
padre
commit
fcebed3564
Se han modificado 1 ficheros con 1 adiciones y 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);