Add battery min/max voltage parameter support

This commit is contained in:
Steven Linn 2026-01-28 14:23:36 -07:00 committed by stevenlafl
parent f7e54ea797
commit 44e7c092c8
3 changed files with 20 additions and 4 deletions

View file

@ -31,6 +31,10 @@ build_flags =
; TX power: 22dBm to SX1262, PA module adds ~10dB for 32dBm total
-D LORA_TX_POWER=22
; Battery - 2S 7.4V LiPo (6.0V min, 8.4V max)
-D BATT_MIN_MILLIVOLTS=6000
-D BATT_MAX_MILLIVOLTS=8400
; Display - SH1106 OLED at 0x3C
-D DISPLAY_CLASS=SH1106Display