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
@@ -175,7 +175,7 @@ bool RFM69toMQTT(void) {
|
||||
}
|
||||
}
|
||||
|
||||
# ifdef simpleReceiving
|
||||
# if simpleReceiving
|
||||
void MQTTtoRFM69(char* topicOri, char* datacallback) {
|
||||
if (cmpToMainTopic(topicOri, subjectMQTTtoRFM69)) {
|
||||
Log.trace(F("MQTTtoRFM69 data analysis" CR));
|
||||
@@ -204,7 +204,7 @@ void MQTTtoRFM69(char* topicOri, char* datacallback) {
|
||||
}
|
||||
}
|
||||
# endif
|
||||
# ifdef jsonReceiving
|
||||
# if jsonReceiving
|
||||
void MQTTtoRFM69(char* topicOri, JsonObject& RFM69data) {
|
||||
if (cmpToMainTopic(topicOri, subjectMQTTtoRFM69)) {
|
||||
const char* data = RFM69data["data"];
|
||||
|
||||
Reference in new issue
Block a user