]> the.earth.li Git - temper-clone.git/commitdiff
Poll temperature on a 10s basis
authorJonathan McDowell <noodles@earth.li>
Thu, 10 May 2018 19:58:29 +0000 (20:58 +0100)
committerJonathan McDowell <noodles@earth.li>
Thu, 10 May 2018 20:00:21 +0000 (21:00 +0100)
Rather than polling the temperature sensor when the host requests it
use a timer to poll every 10s and store the result. This means we can
reply quicker when requests, reducing the number of errors we see on
the host due to USB issues. Fixes interaction with the double request
python-temperusb does for every check.


No differences found