Set battery charging thresholds in common.mk

Battery threshold control is entirely software-defined and does not
depend on any board-specific behavior.
This commit is contained in:
Tim Crawford
2021-05-14 10:41:01 -06:00
committed by Jeremy Soller
parent 285d622fbc
commit 76e02c9514
14 changed files with 5 additions and 65 deletions

View File

@@ -24,11 +24,6 @@ CFLAGS+=\
-DCHARGER_CHARGE_VOLTAGE=12600 \
-DCHARGER_INPUT_CURRENT=11800
# Set battery charging thresholds
CFLAGS+=\
-DBATTERY_START_THRESHOLD=0 \
-DBATTERY_END_THRESHOLD=100
# Set CPU power limits in watts
CFLAGS+=\
-DPOWER_LIMIT_AC=180 \