mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-27 15:56:11 +02:00
HMT-1600/1800/2000 support
This commit is contained in:
parent
fc61b1a75f
commit
07dfb5fcd3
7 changed files with 92 additions and 19 deletions
|
@ -541,6 +541,10 @@ class Inverter {
|
|||
rec->length = (uint8_t)(HMS4CH_LIST_LEN);
|
||||
rec->assign = reinterpret_cast<byteAssign_t*>(const_cast<byteAssign_t*>(hms4chAssignment));
|
||||
rec->pyldLen = HMS4CH_PAYLOAD_LEN;
|
||||
} else if(IV_HMT == ivGen){
|
||||
rec->length = (uint8_t)(HMT4CH_LIST_LEN);
|
||||
rec->assign = reinterpret_cast<byteAssign_t*>(const_cast<byteAssign_t*>(hmt4chAssignment));
|
||||
rec->pyldLen = HMT4CH_PAYLOAD_LEN;
|
||||
}
|
||||
channels = 4;
|
||||
}
|
||||
|
@ -985,7 +989,7 @@ T calcMaxTempCh0(Inverter<> *iv, uint8_t arg0) {
|
|||
}
|
||||
}
|
||||
if(Temp > maxTemp) {
|
||||
iv->tsMaxTemp = *iv->timestamp;
|
||||
iv->tsMaxTemperature = *iv->Timestamp;
|
||||
return Temp;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue