mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-29 21:22:03 +00:00
PMU cosmetics
This commit is contained in:
@@ -1199,7 +1199,7 @@ bool Power::axpChipInit()
|
|||||||
PMU->setPowerChannelVoltage(XPOWERS_VBACKUP, 3300); // RTC Button battery
|
PMU->setPowerChannelVoltage(XPOWERS_VBACKUP, 3300); // RTC Button battery
|
||||||
PMU->enablePowerOutput(XPOWERS_VBACKUP);
|
PMU->enablePowerOutput(XPOWERS_VBACKUP);
|
||||||
|
|
||||||
// PMU->enablePowerOutput(XPOWERS_DLDO1); // NFC
|
// PMU->enablePowerOutput(XPOWERS_DLDO1); // NFC
|
||||||
|
|
||||||
// UNUSED POWER CHANNEL
|
// UNUSED POWER CHANNEL
|
||||||
PMU->disablePowerOutput(XPOWERS_DCDC2);
|
PMU->disablePowerOutput(XPOWERS_DCDC2);
|
||||||
@@ -1214,10 +1214,8 @@ bool Power::axpChipInit()
|
|||||||
PMU->enableBattVoltageMeasure();
|
PMU->enableBattVoltageMeasure();
|
||||||
PMU->enableSystemVoltageMeasure();
|
PMU->enableSystemVoltageMeasure();
|
||||||
PMU->enableTemperatureMeasure();
|
PMU->enableTemperatureMeasure();
|
||||||
|
|
||||||
// Clear all PMU interrupts
|
|
||||||
PMU->disableIRQ(XPOWERS_AXP2101_ALL_IRQ);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// disable all axp chip interrupt
|
// disable all axp chip interrupt
|
||||||
PMU->disableIRQ(XPOWERS_AXP2101_ALL_IRQ);
|
PMU->disableIRQ(XPOWERS_AXP2101_ALL_IRQ);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user