Fix lemp9 current draw
This commit is contained in:
@ -55,7 +55,8 @@ int battery_charger_enable(void) {
|
||||
if (res < 0) return res;
|
||||
|
||||
// Set input current to ~3.2 A
|
||||
res = smbus_write(0x09, 0x3F, 0x0C80);
|
||||
// TODO: figure out why input current must be divided by 2
|
||||
res = smbus_write(0x09, 0x3F, 0x0C80 / 2);
|
||||
if (res < 0) return res;
|
||||
|
||||
// Set charge option 0 with watchdog disabled
|
||||
|
Reference in New Issue
Block a user