add weak board_deinit().

This commit is contained in:
jun2sak 2021-02-21 16:27:21 +09:00
parent 62b38e273b
commit 5c858a1925

View File

@ -472,3 +472,9 @@ void HardFault_Handler(void) {
asm("nop;"); asm("nop;");
} }
} }
#if CIRCUITPY_ALARM
// in case boards/xxx/board.c does not provide board_deinit()
MP_WEAK void board_deinit(void) {
}
#endif