[SYS] Remove handleJsonQueue wrapper and use std::string (#2038)

Co-authored-by: Florian <1technophile@users.noreply.github.com>
This commit is contained in:
FlorianandFlorian authored and GitHub committed 2024-08-29 09:44:05 -05:00
1 parent cb824e2ee4
commit 719976b652
36 files changed
+68 -74

No files matched your search

+3 -3
View File
@@ -81,11 +81,11 @@ void pilightCallback(const String& protocol, const String& message, int status,
RFPiLightdata["repeats"] = (int)repeats;
RFPiLightdata["status"] = (int)status;
RFPiLightdata["origin"] = subjectPilighttoMQTT;
handleJsonEnqueue(RFPiLightdata);
enqueueJsonObject(RFPiLightdata);
if (repeatPilightwMQTT) {
Log.trace(F("Pub Pilight for rpt" CR));
RFPiLightdata["origin"] = subjectMQTTtoPilight;
handleJsonEnqueue(RFPiLightdata);
enqueueJsonObject(RFPiLightdata);
}
}
}
@@ -108,7 +108,7 @@ void pilightRawCallback(const uint16_t* pulses, size_t length) {
// Enqueue data
RFPiLightdata["origin"] = subjectPilighttoMQTT;
handleJsonEnqueue(RFPiLightdata);
enqueueJsonObject(RFPiLightdata);
}
# endif