daniel-p-carvalho commented on PR #20171: URL: https://github.com/apache/nuttx/pull/20171#issuecomment-5715463816
Updated the PR addressing all review feedback: - Migrated the driver to the modern Sensor Driver Framework (uORB) as requested by @linguini1. It now publishes as `/dev/uorb/sensor_temp<n>` via `tc74_register()`. - Removed the redundant `#if defined(CONFIG_I2C) && defined(CONFIG_SENSORS_TC74)` from the `.c` file as noted by @xiaoxiang781216. - Removed legacy fallback code, unnecessary casts and internal register `#defines` from the public header. - Added documentation under `Documentation/components/drivers/special/sensors/tc74.rst`. - Validated on real hardware with an STM32H743BI board and `sensortest` (default 1 Hz, custom intervals, and automatic standby upon topic deactivation). - Squashed into a single clean commit with `tools/checkpatch.sh -g HEAD` passing. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
