Skip to content

Commit 1a73dca

Browse files
committed
Fix typo and add comment about modem starting up again after deep sleep
1 parent 2129972 commit 1a73dca

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/examples/low_power/low_power.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ void loop() {
4949

5050
digitalWrite(TIMING_PIN, digitalRead(TIMING_PIN) ? 0 : 1);
5151

52-
WakeUpReeason wakeup_reason = LowPower.sleep();
52+
WakeUpReason wakeup_reason = LowPower.sleep();
5353
Log.infof("Got out of sleep with wake up reason %d, doing work...\r\n",
5454
wakeup_reason);
5555
}

src/low_power.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ class LowPowerClass {
7070
*
7171
* @param sleep_modem:
7272
* - REGULAR: Modem in sleep, CPU in deep sleep
73-
* - DEEP: Modem powered off, CPU in deep sleep
73+
* - DEEP: Modem powered off, CPU in deep sleep. Note that the modem will be
74+
* started again after the sleep in this mode
7475
*
7576
* @return True if configuration was set successfully.
7677
*/

0 commit comments

Comments
 (0)