Fix PMU_CHARGE_CURRENT and PMU_CHARGE_CUTOFF defines
This commit is contained in:
parent
eb50069459
commit
2176a30419
@ -158,9 +158,9 @@ void AXP192_init(void) {
|
|||||||
#endif // PMU_INT
|
#endif // PMU_INT
|
||||||
|
|
||||||
// set charging parameterss according to user settings if we have (see power.h)
|
// set charging parameterss according to user settings if we have (see power.h)
|
||||||
#ifdef PMU_CHARGE_CURRENT
|
#ifdef PMU_CHG_CURRENT
|
||||||
pmu.setChargeControlCur(PMU_CHARGE_CURRENT);
|
pmu.setChargeControlCur(PMU_CHG_CURRENT);
|
||||||
pmu.setChargingTargetVoltage(PMU_CHARGE_CUTOFF);
|
pmu.setChargingTargetVoltage(PMU_CHG_CUTOFF);
|
||||||
pmu.enableChargeing(true);
|
pmu.enableChargeing(true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user