[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

+2 -2
View File
@@ -59,7 +59,7 @@ void GFSunInverterDataHandler(GfSun2000Data data) {
jdata["register"] = jregister;
# endif
jdata["origin"] = subjectRFtoMQTT;
handleJsonEnqueue(jdata);
enqueueJsonObject(jdata);
}
void GFSunInverterErrorHandler(int errorId, char* errorMessage) {
@@ -72,7 +72,7 @@ void GFSunInverterErrorHandler(int errorId, char* errorMessage) {
jdata["msg"] = errorMessage;
jdata["id"] = errorId;
jdata["origin"] = subjectRFtoMQTT;
handleJsonEnqueue(jdata);
enqueueJsonObject(jdata);
}
void setupGFSunInverter() {