humidity: Add retry limits to the humidity sensor code to stop infinite loops
authorPhilip Withnall <philip@tecnocode.co.uk>
Mon, 10 Dec 2012 15:00:27 +0000 (15:00 +0000)
committerPhilip Withnall <philip@tecnocode.co.uk>
Mon, 10 Dec 2012 15:00:27 +0000 (15:00 +0000)
commit26dbb42875c697987d411a43dd3b5e7574677560
tree19cff2dfbbdc232b3841e273cdf7fc9c6ac756c7
parent866e8e517392c169d02bfa3993122564feb36083
humidity: Add retry limits to the humidity sensor code to stop infinite loops

This ensures the humidity sensor measurement code will always terminate in
bounded time, even if the humidity sensor is acting up. This adds a new
sensor response status (timeout).
common.h
humidity.c
main.c