Skip to content

Commit 78cc5ae

Browse files
committed
Use the same timer in case LPTICKER is not defined
1 parent e2c6433 commit 78cc5ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/wiring.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ static mbed::Timer timer;
3636
#else
3737
// Fallback for devices which don't support
3838
// a low power ticker.
39-
static mbed::Timer lowPowerTimer;
39+
static mbed::Timer& lowPowerTimer = timer;
4040
#endif
4141

4242
unsigned long millis()

0 commit comments

Comments
 (0)