mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-12 08:26:38 +02:00
* main in app integriert, Zwischenstand
This commit is contained in:
parent
c6e3cd39ba
commit
ccb9fb537d
7 changed files with 759 additions and 603 deletions
|
@ -86,9 +86,9 @@ class HmSystem {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
INVERTERTYPE *getInverterByPos(uint8_t pos) {
|
||||
INVERTERTYPE *getInverterByPos(uint8_t pos, bool check = true) {
|
||||
DPRINTLN(DBG_VERBOSE, F("hmSystem.h:getInverterByPos"));
|
||||
if(mInverter[pos].serial.u64 != 0ULL)
|
||||
if((mInverter[pos].serial.u64 != 0ULL) || false == check)
|
||||
return &mInverter[pos];
|
||||
else
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue