remove string usage for topic comparison
This commit is contained in:
1 parent
7f16d00a55
commit
f7ec81ffaa
13 files changed
+48
-29
No files matched your search
+1
-1
@@ -1044,7 +1044,7 @@ void haRoomPresence(JsonObject& HomePresence){
|
||||
#endif
|
||||
|
||||
void MQTTtoBT(char * topicOri, JsonObject& BTdata) { // json object decoding
|
||||
if (strstr(topicOri,(char *)catToMainTopic(subjectMQTTtoBTset).c_str()) != NULL){
|
||||
if (cmpToMainTopic(topicOri,subjectMQTTtoBTset)){
|
||||
trc(F("MQTTtoBT json set"));
|
||||
|
||||
// Black list & white list set
|
||||
|
||||
Reference in new issue
Block a user