Skip to content

Commit d4fcc82

Browse files
authored
Merge pull request #9 from arduino-libraries/alrvid-patch-2
Fix incorrect delay specification
2 parents 5b4047f + 95ddb1d commit d4fcc82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: examples/TurnPeripheralsOff/TurnPeripheralsOff.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void setup() {
5555

5656

5757

58-
LowPower.standbyM7(LowPowerStandbyType::untilPinActivity | LowPowerStandbyType::untilTimeElapsed, 10 s);
58+
LowPower.standbyM7(LowPowerStandbyType::untilPinActivity | LowPowerStandbyType::untilTimeElapsed, 10_s);
5959
//
6060
// The following is an alternative way to go into Standby Mode for 10 seconds:
6161
// LowPower.standbyM7(LowPowerStandbyType::untilTimeElapsed, RTCWakeupDelay(0, 0, 10));
@@ -68,4 +68,4 @@ void setup() {
6868
#endif
6969
}
7070

71-
void loop() {}
71+
void loop() {}

0 commit comments

Comments
 (0)