From: Jonathan McDowell Date: Thu, 10 May 2018 19:58:29 +0000 (+0100) Subject: Poll temperature on a 10s basis X-Git-Url: https://the.earth.li/gitweb/?a=commitdiff_plain;h=6b61bdbca74f12def23fc5f7099cc633aba420b3;hp=6b61bdbca74f12def23fc5f7099cc633aba420b3;p=temper-clone.git Poll temperature on a 10s basis 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. ---