mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
hard code 128 as topic length to prevent compiler warnings
This commit is contained in:
@@ -70,7 +70,7 @@ class Mqtt {
|
|||||||
enum Operation : uint8_t { PUBLISH, SUBSCRIBE, UNSUBSCRIBE };
|
enum Operation : uint8_t { PUBLISH, SUBSCRIBE, UNSUBSCRIBE };
|
||||||
enum NestedFormat : uint8_t { NESTED = 1, SINGLE };
|
enum NestedFormat : uint8_t { NESTED = 1, SINGLE };
|
||||||
|
|
||||||
static constexpr uint8_t MQTT_TOPIC_MAX_SIZE = FACTORY_MQTT_MAX_TOPIC_LENGTH; // fixed, not a user setting anymore
|
static constexpr uint8_t MQTT_TOPIC_MAX_SIZE = 128; // fixed, not a user setting anymore
|
||||||
|
|
||||||
static void on_connect();
|
static void on_connect();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user