Skip to content

Commit c0908dd

Browse files
committed
Fix a bug where LEDs and info messages wouldn't be enabled after power down due to powerUpPeripherals being called after Lte.begin()
1 parent 1c7772f commit c0908dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/low_power.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,8 +594,9 @@ void LowPowerClass::powerDown(const uint32_t power_down_time_seconds) {
594594

595595
disableLDO();
596596
disablePIT();
597-
Lte.begin();
598597

599598
SLPCTRL.CTRLA &= ~SLPCTRL_SEN_bm;
600599
powerUpPeripherals();
600+
601+
Lte.begin();
601602
}

0 commit comments

Comments
 (0)