Browse Source

Implemented quick fix for #889 from anorak-47

pull/1005/head
rmom 2 years ago
parent
commit
d6d93a3c26
  1. 4
      src/publisher/pubMqtt.h

4
src/publisher/pubMqtt.h

@ -314,7 +314,9 @@ class PubMqtt {
delete[] pyld; delete[] pyld;
} }
const char *p = topic; # quick fix for #889
# initial line: const char *p = topic;
const char *p = topic + strlen(mCfgMqtt->topic);
uint8_t pos = 0; uint8_t pos = 0;
uint8_t elm = 0; uint8_t elm = 0;
char tmp[30]; char tmp[30];

Loading…
Cancel
Save