Revert "Trying to make less calls to dtu, making it "multithreaded""
This reverts commit ad4ff13be0.
This commit is contained in:
parent
ad4ff13be0
commit
f22aae499d
7 changed files with 33 additions and 38 deletions
|
|
@ -29,8 +29,6 @@ void Microinverter::populatePorts() {
|
|||
this->modbus_context_mutex->lock();
|
||||
registerCount = modbus_read_registers(*this->modbus_context.get(), portStartAddress + 0x0021, 1, readArray);
|
||||
this->modbus_context_mutex->unlock();
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue