We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3903bf commit 803c18cCopy full SHA for 803c18c
ports/nrf/common-hal/alarm/__init__.c
@@ -49,7 +49,7 @@
49
#include "nrfx.h"
50
#include "nrfx_gpiote.h"
51
#ifdef NRF_DEBUG_PRINT
52
-void print_wakeup_cause(nrf_sleep_source_t cause);
+static void print_wakeup_cause(nrf_sleep_source_t cause);
53
#endif
54
55
// Singleton instance of SleepMemory.
@@ -111,7 +111,7 @@ bool common_hal_alarm_woken_from_sleep(void) {
111
nrf_sleep_source_t cause = _get_wakeup_cause();
112
113
if (cause != NRF_SLEEP_WAKEUP_UNDEFINED) {
114
- // print_wakeup_cause(cause);
+ print_wakeup_cause(cause);
115
}
116
117
return cause == NRF_SLEEP_WAKEUP_GPIO || cause == NRF_SLEEP_WAKEUP_TIMER
0 commit comments