diff --git a/main/main.c b/main/main.c index 183446b..9e2378a 100644 --- a/main/main.c +++ b/main/main.c @@ -19,7 +19,7 @@ #define TAG "main" -#define WIFI_CONNECTED_BIT BIT5 /* offset to avoid clashing with mqtt_publisher bits */ +#define WIFI_CONNECTED_BIT BIT8 /* must not clash with mqtt_publisher bits (BIT0–BIT6) */ #define DEFAULT_MQTT_PORT 1883 #define MDNS_QUERY_TIMEOUT_MS 3000