fix standalone compiling

This commit is contained in:
proddy
2021-01-25 15:57:26 +01:00
parent 3f9995340c
commit e0a35644a8
3 changed files with 15 additions and 12 deletions

View File

@@ -88,7 +88,7 @@ class Mqtt {
enum Dallas_Format : uint8_t { SENSORID = 1, NUMBER };
enum HA_Climate_Format : uint8_t { CURRENT = 1, SETPOINT, ZERO };
static constexpr uint8_t MQTT_TOPIC_MAX_SIZE = FACTORY_MQTT_MAX_TOPIC_LENGTH; // note this should really match the user setting in mqttSettings.maxTopicLength
static constexpr uint8_t MQTT_TOPIC_MAX_SIZE = 128; // note this should really match the user setting in mqttSettings.maxTopicLength
static void on_connect();