2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-15 22:26:04 +00:00
gernot-h 86a2adc731 52_I2C_HDC1008.pm: improve and restructure I2C error handling
The code used to ignore I2C write errors reported by the IODev (e.g.
when triggering a measurement) and just continued. While the subsequent
read should fail if sensor doesn't have values, it sometimes didn't for
me, leading to sporadic reading of 125°C and/or 100% rH. In case of
write errors, just retry current step until it succeeds.



git-svn-id: https://svn.fhem.de/fhem/trunk@16703 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-05-07 20:58:27 +00:00
2007-01-30 11:51:20 +00:00
Description
No description provided
https://fhem.de/
325 MiB
Languages
Perl 89.3%
JavaScript 8.1%
HTML 0.7%
CSS 0.6%
PHP 0.3%
Other 0.9%