Reverted a lot of cruft

This commit is contained in:
2026-04-21 23:50:39 +02:00
parent cf545cb849
commit 014346c442

View File

@@ -25,6 +25,7 @@ import network
import utime import utime
import ujson import ujson
import gc import gc
from umqtt.robust import MQTTClient
from machine import UART from machine import UART
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
@@ -937,7 +938,6 @@ def check_mqtt():
_mqtt_connected = False _mqtt_connected = False
log_err("Attempting MQTT reconnection...") log_err("Attempting MQTT reconnection...")
from umqtt.robust import MQTTClient
for attempt in range(3): for attempt in range(3):
try: try:
client_ref = MQTTClient( client_ref = MQTTClient(