]> the.earth.li Git - temper-clone.git/commitdiff
Add w1_read_bit() to improve waiting for result
authorJonathan McDowell <noodles@earth.li>
Thu, 10 May 2018 07:03:19 +0000 (08:03 +0100)
committerJonathan McDowell <noodles@earth.li>
Thu, 10 May 2018 07:03:19 +0000 (08:03 +0100)
Rather than using a full w1_read_byte() to wait for the temperature
sensor to indicate a result is ready introduce a w1_read_bit() and
use that instead. This lets us service USB requests more often while
waiting for the result.


No differences found