mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-30 14:38:27 +02:00
Merge branch 'hpd96-devel03-hm-mipayload-warning' into development03
This commit is contained in:
commit
6d71976a23
1 changed files with 1 additions and 1 deletions
|
@ -478,7 +478,7 @@ class MiPayload {
|
|||
if ( statusMi != mPayload[iv->id].sts[stschan] ) { //sth.'s changed?
|
||||
iv->alarmCnt = 1; // minimum...
|
||||
if (iv->type != INV_TYPE_1CH && ( statusMi != 3 //sth is or was wrong!
|
||||
|| mPayload[iv->id].sts[stschan] && statusMi == 3 && mPayload[iv->id].sts[stschan] != 3)
|
||||
|| ( mPayload[iv->id].sts[stschan] && statusMi == 3 && mPayload[iv->id].sts[stschan] != 3) )
|
||||
) {
|
||||
iv->lastAlarm[stschan] = alarm_t(prntsts, mPayload[iv->id].ts,mPayload[iv->id].ts);
|
||||
iv->alarmCnt = iv->type == INV_TYPE_2CH ? 3 : 5;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue