+13
−9
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Voltage registers are non-sequential. Use a register array instead of a macro to map sensor index to register to simplify the code and to make it easier to add additional voltage sensors. Tested-by:Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by:
Guenter Roeck <linux@roeck-us.net>