mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
be able to set mqtt base
This commit is contained in:
@@ -156,6 +156,10 @@ class Mqtt {
|
|||||||
return mqtt_base_;
|
return mqtt_base_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void base(const char * base) {
|
||||||
|
mqtt_base_ = base;
|
||||||
|
}
|
||||||
|
|
||||||
static uint16_t publish_count() {
|
static uint16_t publish_count() {
|
||||||
return mqtt_message_id_;
|
return mqtt_message_id_;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user