Update reportedLevels prior to monitoring bits

This commit is contained in:
Guy McSwain 2018-09-17 13:32:43 -05:00
parent 934874be2f
commit 1101ce4d5e
1 changed files with 1 additions and 0 deletions

View File

@ -6371,6 +6371,7 @@ static void * pthAlertThread(void *x)
}
alertEmit(sample, reports, changedBits, sTick);
reportedLevel = sample[numSamples -1].level;
if (totalSamples > gpioStats.maxSamples)
gpioStats.maxSamples = numSamples;