mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-03 20:18:44 +05:00
refactor: dynamic sensors
This commit is contained in:
1 parent
c3d0d94806
commit
e71f3868fd
27 files changed
+4666
-3388
No files matched your search
@@ -77,7 +77,7 @@ public:
|
||||
#endif
|
||||
}
|
||||
|
||||
bool publish(const char* topic, JsonDocument& doc, bool retained = false) {
|
||||
bool publish(const char* topic, const JsonVariantConst doc, bool retained = false) {
|
||||
if (!this->client->connected()) {
|
||||
this->bufferPos = 0;
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user