summaryrefslogtreecommitdiff
path: root/shared-module/ustack
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2018-06-05 12:38:31 -0700
committerScott Shawcroft <scott.shawcroft@gmail.com>2018-06-08 12:56:32 -0700
commit2fbab8067afcb008bc92d9c155dfef360fbc10f9 (patch)
tree137d0ec0459ae562fa411fbccbfea3ec05bd3256 /shared-module/ustack
parentc01ce175bb63aab3f44a3efb31bcfd57a58b22bd (diff)
Prevent freezing USB during high frequency PulseIn.
We now track the last time the background task ran and bail on the PulseIn if it starves the background work. In practice, this happens after the numbers from pulsein are no longer accurate. This also adjusts interrupt priorities so most are the lowest level except for the tick and USB interrupts. Fixes #516 and #876
Diffstat (limited to 'shared-module/ustack')
0 files changed, 0 insertions, 0 deletions