From 544e930a3a6f94f54a3f05d4f5df6528f5fffbcf Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Fri, 29 Dec 2023 00:49:01 +0700 Subject: [PATCH] Update AnalogIoT.cpp --- Template Project/lib/ESPMegaPRO/AnalogIoT.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Template Project/lib/ESPMegaPRO/AnalogIoT.cpp b/Template Project/lib/ESPMegaPRO/AnalogIoT.cpp index 3b2e9eb..75608fc 100644 --- a/Template Project/lib/ESPMegaPRO/AnalogIoT.cpp +++ b/Template Project/lib/ESPMegaPRO/AnalogIoT.cpp @@ -188,6 +188,8 @@ bool AnalogIoT::processRequestStateMessage(char *topic, char *payload, uint8_t t return false; } void AnalogIoT::publishReport() { + publishADCs(); + publishDACs(); } void AnalogIoT::subscribe() { // There are 4 DACs and 8 ADCs