panic in debug mode if sleep methods are called in an exception handler (unless PICO_ALLOW_SLEEP_IN_EXCEPTION is set)

This commit is contained in:
graham sanderson
2021-02-17 14:54:46 -06:00
parent 6b2c249961
commit aca685ceae
4 changed files with 12 additions and 4 deletions

View File

@ -13,7 +13,6 @@
#include "pico/assert.h"
extern void __unhandled_user_irq(void);
extern uint __get_current_exception(void);
static inline irq_handler_t *get_vtable(void) {
return (irq_handler_t *) scb_hw->vtor;