integrate CT with ESPMegaIoT
This commit is contained in:
parent
000c06809c
commit
69b2198342
5 changed files with 17 additions and 2 deletions
|
@ -52,7 +52,7 @@ void CurrentTransformerIoT::publishReport() {
|
|||
}
|
||||
|
||||
uint8_t CurrentTransformerIoT::getType() {
|
||||
return CARD_TYPE_CT;
|
||||
return this->currentTransformerCard->getType();
|
||||
}
|
||||
|
||||
bool CurrentTransformerIoT::processSetEnergyMessage(char* topic, char* payload, uint8_t topic_length) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue