Commit graph

6 commits

Author SHA1 Message Date
MickiusMousius
e41c11d0a1 fix bad indexing of lookup table 2023-12-18 10:30:50 +10:30
MickiusMousius
73646cbfc7 fix: Use more efficient integer operations, ensure return values don'r get out of sync with the lookup table. 2023-12-13 12:06:39 +10:30
MickiusMousius
d86d289d76
Fix: Correct incorrect indexing of the lookup table 2023-12-12 16:18:27 +10:30
MickiusMousius
86885c19bd Address feedback: Perform interpolation in code, proper use of struct & const 2023-12-12 12:42:43 +10:30
MickiusMousius
f4c9b12d78 fix: Use a formula table to better approximate remaining battery capacity 2023-12-11 17:30:53 +10:30
Peter Johanson
690bc1bb44 refactor: Move drivers into properly module.
* Align our driver module layout to properly match Zephyr conventions,
  allowing proper CMake setup to amend the library for each type of driver.
2023-09-16 11:52:40 -07:00