board/system76: Set battery thresholds per board

This commit is contained in:
Tim Crawford
2020-08-24 06:58:12 -06:00
committed by Jeremy Soller
parent fd6f9a0a05
commit 297ae4885a
8 changed files with 37 additions and 6 deletions

View File

@@ -16,5 +16,10 @@ CFLAGS+=\
-DCHARGER_CHARGE_VOLTAGE=13056 \
-DCHARGER_INPUT_CURRENT=1920
# Set battery charging thresholds
CFLAGS+=\
-DBATTERY_START_THRESHOLD=0 \
-DBATTERY_END_THRESHOLD=100
# Add system76 common code
include src/board/system76/common/common.mk