Commit graph

9 commits

Author SHA1 Message Date
MickiusMousius
e365ab21f4
Merge branch 'zmkfirmware:main' into battery_reporting_improvement 2024-04-13 17:34:17 +09:30
Peter Johanson
bd9c71ab0a fix(sensors): Avoid duplicate Kconfig/DTS name.
* Upstream added an equivalent fuel gauge driver, so namespace
  our Kconfig symbol and DTS compatible for the MAX17048 driver.
2024-02-09 14:32:46 -08:00
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
zhiayang
8abc449cc2
feat(drivers): add driver for MAX17048 fuel gauge
Add driver for MAX17048 fuel gauge for battery reporting.
2023-09-25 21:04:03 -04:00
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