On Fri, May 2, 2025 at 9:15 AM Sean Nyekjaer sean@geanix.com wrote:
According to spec temperature should be returned in milli degrees Celsius. Add in_temp_scale to calculate from Celsius to milli Celsius.
...
+/* Raw temp channel scale */ +#define FXLS8962AF_TEMP_SCALE 1000
Wouldn't constants from units.h be helpful here?
#define FXLS8962AF_AUTO_SUSPEND_DELAY_MS 2000
(2 * MSEC_PER_SEC)
This gives immediately that we want 2 seconds of delay.