mirror of
https://github.com/pelgraine/Meck.git
synced 2026-06-10 16:24:52 +02:00
fix battery size for max in variant.h and comments
This commit is contained in:
@@ -107,7 +107,7 @@ for (uint8_t a = 0x6A; a <= 0x6B; a++) {
|
||||
#if HAS_BQ27220
|
||||
uint16_t voltage = getBattMilliVolts();
|
||||
MESH_DEBUG_PRINTLN(" Battery voltage: %d mV", voltage);
|
||||
configureFuelGauge(); // sets 1500 mAh (MAX design capacity)
|
||||
configureFuelGauge(); // sets 1400 mAh (MAX design capacity)
|
||||
#endif
|
||||
|
||||
// ------ Step 11: Early low-voltage protection ------
|
||||
|
||||
@@ -239,8 +239,8 @@
|
||||
#define BQ27220_I2C_ADDR 0x55
|
||||
#define BQ27220_I2C_SDA I2C_SDA
|
||||
#define BQ27220_I2C_SCL I2C_SCL
|
||||
#define BQ27220_DESIGN_CAPACITY 1500 // MAX: 1500 mAh (was 1400 on V1.1)
|
||||
#define BQ27220_DESIGN_CAPACITY_MAH 1500 // Alias used by TDeckBoard.h
|
||||
#define BQ27220_DESIGN_CAPACITY 1400 //
|
||||
#define BQ27220_DESIGN_CAPACITY_MAH 1400 // Alias used by TDeckBoard.h
|
||||
|
||||
#define HAS_PPM 1
|
||||
// This board uses the SY6970 charger @ 0x6A (newer revision -- confirmed by I2C
|
||||
|
||||
Reference in New Issue
Block a user