Tweak OCV_ARRAY 100% voltage to take into account charger hysteresis and voltage sag after charge (#8720)

Measured voltage of fully charged battery after a few minutes of rest
This commit is contained in:
simon-muzi
2025-11-22 17:35:10 -05:00
committed by GitHub
parent b18794e98d
commit 1bfa9ed4c4

View File

@@ -133,7 +133,7 @@ static const uint8_t SCK = PIN_SPI_SCK;
#define AREF_VOLTAGE 3.0
#define VBAT_AR_INTERNAL AR_INTERNAL_3_0
#define ADC_MULTIPLIER 1.667
#define OCV_ARRAY 4200, 4020, 4000, 3940, 3870, 3820, 3750, 3630, 3550, 3450, 3100
#define OCV_ARRAY 4120, 4020, 4000, 3940, 3870, 3820, 3750, 3630, 3550, 3450, 3100
#define HAS_RTC 1