Publishing/receiving inconsistencies fix (#1229)
* Publishing/receiving inconsistencies * General platformio.ini changes General platformio.ini changes to allow for publishing/receiving settings to be defined in User_cofig.h instead of them only working if defined in the environments. Kept separate so far for discussion.
This commit is contained in:
1 parent
3bd1d31fcc
commit
a388f14e75
15 files changed
+39
-40
No files matched your search
@@ -30,7 +30,7 @@
|
||||
|
||||
#ifdef ZactuatorONOFF
|
||||
|
||||
# ifdef jsonReceiving
|
||||
# if jsonReceiving
|
||||
void MQTTtoONOFF(char* topicOri, JsonObject& ONOFFdata) {
|
||||
if (cmpToMainTopic(topicOri, subjectMQTTtoONOFF)) {
|
||||
Log.trace(F("MQTTtoONOFF json data analysis" CR));
|
||||
@@ -70,7 +70,7 @@ void MQTTtoONOFF(char* topicOri, JsonObject& ONOFFdata) {
|
||||
}
|
||||
# endif
|
||||
|
||||
# ifdef simpleReceiving
|
||||
# if simpleReceiving
|
||||
void MQTTtoONOFF(char* topicOri, char* datacallback) {
|
||||
if ((cmpToMainTopic(topicOri, subjectMQTTtoONOFF))) {
|
||||
Log.trace(F("MQTTtoONOFF" CR));
|
||||
|
||||
Reference in new issue
Block a user