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 803c18c commit 1ad3dafCopy full SHA for 1ad3daf
ports/nrf/common-hal/alarm/__init__.c
@@ -48,9 +48,6 @@
48
#include "nrf_power.h"
49
#include "nrfx.h"
50
#include "nrfx_gpiote.h"
51
-#ifdef NRF_DEBUG_PRINT
52
-static void print_wakeup_cause(nrf_sleep_source_t cause);
53
-#endif
54
55
// Singleton instance of SleepMemory.
56
const alarm_sleep_memory_obj_t alarm_sleep_memory_obj = {
@@ -99,7 +96,7 @@ static const char *cause_str[] = {
99
96
"VBUS",
100
97
"RESETPIN",
101
98
};
102
-void print_wakeup_cause(nrf_sleep_source_t cause) {
+static void print_wakeup_cause(nrf_sleep_source_t cause) {
103
if (cause >= 0 && cause < NRF_SLEEP_WAKEUP_ZZZ) {
104
mp_printf(&mp_plat_print, "wakeup cause = NRF_SLEEP_WAKEUP_%s\r\n",
105
cause_str[(int)cause]);
0 commit comments