Merge pull request #733 from oseiler2/master
Fix PMU_CHARGE_CURRENT and PMU_CHARGE_CUTOFF defines
This commit is contained in:
commit
fc7a1f72ea
@ -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