Fix the whole v_empty setting code, this was using a wrong scaling factor, but also incorrectly clearing the recovery voltage part of the register. Change the code to read the previous value and mask out the bits not used by VE. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| max17055.c | ||
| max17055.h | ||