mirror of
https://github.com/lumapu/ahoy.git
synced 2025-04-28 17:56:21 +02:00
Merge branch 'development03' of https://github.com/rejoe2/ahoy into rejoe2-development03
This commit is contained in:
commit
e2690403ff
1 changed files with 1 additions and 1 deletions
|
@ -895,7 +895,7 @@ class Communication : public CommQueue<> {
|
|||
uint8_t oldState = rec->record[q->iv->getPosByChFld(0, FLD_EVT, rec)];
|
||||
if ( prntsts != oldState ) { // sth.'s changed?
|
||||
stsok = false;
|
||||
if(!oldState) { // initial zero value? => just write this channel to main state and raise changed flags
|
||||
if( (!oldState) || (!q->iv->alarmCnt) ) { // initial zero value? => just write this channel to main state and raise changed flags
|
||||
changedStatus = true;
|
||||
q->iv->alarmCnt = 1; // minimum...
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue