Skip to content

Commit 27f25f2

Browse files
joeybab3EeeeBin
authored andcommitted
Grammatical edits for clarity (#180)
1 parent a6594bc commit 27f25f2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/Basics/Sleep/Sleep.ino

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@ void loop() {
2222

2323
M5.Lcd.printf("Go lightSleep (5s or press buttonA wake up)\n");
2424
delay(2500);
25-
// call this fun, power btn will Invalid
26-
// Restore power btn please call M5.Power.setPowerBoostKeepOn(false)
25+
// Calling this function will disable the power button
26+
// To restore power btn please call M5.Power.setPowerBoostKeepOn(false)
2727
M5.Power.lightSleep(SLEEP_SEC(5));
2828

2929
M5.Lcd.printf("Go lightSleep (press buttonA wake up)\n");
3030
delay(2500);
31-
// call this fun, power btn will Invalid
32-
// Restore power btn please call M5.Power.setPowerBoostKeepOn(false)
31+
// Calling this function will disable the power button
32+
// To restore power btn please call M5.Power.setPowerBoostKeepOn(false)
3333
M5.Power.lightSleep(0);
3434

3535
M5.Lcd.printf("resume.\n\nGo deepSleep (press buttonA wake up) ");
3636
delay(2500);
37-
// call this fun, power btn will Invalid
38-
// Restore power btn please call M5.Power.setPowerBoostKeepOn(false)
37+
// Calling this function will disable the power button
38+
// To restore power btn please call M5.Power.setPowerBoostKeepOn(false)
3939
M5.Power.deepSleep(0);
4040

4141
}

0 commit comments

Comments
 (0)