Implemented quick fix for #889 from anorak-47

This commit is contained in:
rmom 2023-06-24 19:14:27 +02:00
parent 0b763df0a2
commit d6d93a3c26

View file

@ -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];