mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-25 06:46:10 +02:00
several HMS / HMT related changes
This commit is contained in:
parent
4fd93be575
commit
b8533cc17d
10 changed files with 204 additions and 47 deletions
|
@ -162,7 +162,7 @@ void app::loopStandard(void) {
|
|||
|
||||
Inverter<> *iv = mSys.findInverter(&p->data[2]);
|
||||
if(NULL != iv) {
|
||||
if(IV_HMS == iv->ivGen)
|
||||
if((iv->ivGen == IV_HMS) || (iv->ivGen == IV_HMT))
|
||||
mHmsPayload.add(iv, p);
|
||||
}
|
||||
mCmtRadio.mBufCtrl.pop();
|
||||
|
@ -405,7 +405,7 @@ void app::tickSend(void) {
|
|||
else if(iv->ivGen == IV_MI)
|
||||
mMiPayload.ivSend(iv);
|
||||
#if defined(ESP32)
|
||||
else if(iv->ivGen == IV_HMS)
|
||||
else if((iv->ivGen == IV_HMS) || (iv->ivGen == IV_HMT))
|
||||
mHmsPayload.ivSend(iv);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue