projects
/
pigpio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
934874b
)
Update reportedLevels prior to monitoring bits
author
Guy McSwain
<guy.mcswain@gmail.com>
Mon, 17 Sep 2018 18:32:43 +0000
(13:32 -0500)
committer
Guy McSwain
<guy.mcswain@gmail.com>
Mon, 17 Sep 2018 18:32:43 +0000
(13:32 -0500)
pigpio.c
patch
|
blob
|
history
diff --git
a/pigpio.c
b/pigpio.c
index 68dab59b56157c1b19a6f7a971bbef2e96bc194e..427f31aa767241b5ebb76eac9696cc715f3e99dc 100644
(file)
--- a/
pigpio.c
+++ b/
pigpio.c
@@
-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;