Skip to content

Commit 803c18c

Browse files
DavePutzdhalbert
authored andcommitted
Uncommented call to print_wakeup_cause
1 parent d3903bf commit 803c18c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ports/nrf/common-hal/alarm/__init__.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
#include "nrfx.h"
5050
#include "nrfx_gpiote.h"
5151
#ifdef NRF_DEBUG_PRINT
52-
void print_wakeup_cause(nrf_sleep_source_t cause);
52+
static void print_wakeup_cause(nrf_sleep_source_t cause);
5353
#endif
5454

5555
// Singleton instance of SleepMemory.
@@ -111,7 +111,7 @@ bool common_hal_alarm_woken_from_sleep(void) {
111111
nrf_sleep_source_t cause = _get_wakeup_cause();
112112
#ifdef NRF_DEBUG_PRINT
113113
if (cause != NRF_SLEEP_WAKEUP_UNDEFINED) {
114-
// print_wakeup_cause(cause);
114+
print_wakeup_cause(cause);
115115
}
116116
#endif
117117
return cause == NRF_SLEEP_WAKEUP_GPIO || cause == NRF_SLEEP_WAKEUP_TIMER

0 commit comments

Comments
 (0)