File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
boards/clue_nrf52840_express Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -102,4 +102,5 @@ void reset_board(void) {
102
102
}
103
103
104
104
void board_deinit (void ) {
105
+ common_hal_displayio_release_displays ();
105
106
}
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ static const char *cause_str[] = {
96
96
"VBUS" ,
97
97
"RESETPIN" ,
98
98
};
99
- void print_wakeup_cause (nrf_sleep_source_t cause ) {
99
+ static void print_wakeup_cause (nrf_sleep_source_t cause ) {
100
100
if (cause >= 0 && cause < NRF_SLEEP_WAKEUP_ZZZ ) {
101
101
mp_printf (& mp_plat_print , "wakeup cause = NRF_SLEEP_WAKEUP_%s\r\n" ,
102
102
cause_str [(int )cause ]);
@@ -108,7 +108,7 @@ bool common_hal_alarm_woken_from_sleep(void) {
108
108
nrf_sleep_source_t cause = _get_wakeup_cause ();
109
109
#ifdef NRF_DEBUG_PRINT
110
110
if (cause != NRF_SLEEP_WAKEUP_UNDEFINED ) {
111
- // print_wakeup_cause(cause);
111
+ print_wakeup_cause (cause );
112
112
}
113
113
#endif
114
114
return cause == NRF_SLEEP_WAKEUP_GPIO || cause == NRF_SLEEP_WAKEUP_TIMER
You can’t perform that action at this time.
0 commit comments