mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-03-13 18:58:18 +01:00
* feat: Improve DS1820 driver New features: * Handle all types of DS1820 tempature sensors by detecting the family of the sensor and calculating the temperature accordingly * Clean up some log prints * Set the channel value with current temperature * Set the period of the conversion interval with an optional first parameter * Start the conversion instantly and not wait for multiple of the conversion period * rework: Change DS1820 logging to be more consistent - Output logging to `LOG_FEATURE_SENSOR` and not `CFG` as it would be expected - Created a macro `DS1820_LOG` to simplify logging statements. - Use the macro in various places throughout the driver * refactor: Remove unused crc code and improve DS1820 logging Co-authored-by: MaxineMuster <146550015+MaxineMuster@users.noreply.github.com> --------- Co-authored-by: MaxineMuster <146550015+MaxineMuster@users.noreply.github.com>