Update AnalogIoT.cpp

This commit is contained in:
Siwat Sirichai 2023-12-29 00:49:01 +07:00
parent 2b2abc3419
commit 544e930a3a
1 changed files with 2 additions and 0 deletions

View File

@ -188,6 +188,8 @@ bool AnalogIoT::processRequestStateMessage(char *topic, char *payload, uint8_t t
return false; return false;
} }
void AnalogIoT::publishReport() { void AnalogIoT::publishReport() {
publishADCs();
publishDACs();
} }
void AnalogIoT::subscribe() { void AnalogIoT::subscribe() {
// There are 4 DACs and 8 ADCs // There are 4 DACs and 8 ADCs