Closed CFD2 closed 3 years ago
The change of the number of samples taken for averaging using ioctl does not persist. It changes back to what the value is in priv->config with every open and close file operation because ioctl command never updated the variable.
This PR aims to add ioctl functionality to power sensor (ina260) driver to configure number of samples collected for averaging.