make reset not return on broadcom
This commit is contained in:
parent
93e1b89c19
commit
deb53481be
1 changed files with 2 additions and 0 deletions
|
|
@ -11,6 +11,7 @@
|
|||
#include "common-hal/microcontroller/__init__.h"
|
||||
#include "peripherals/broadcom/defines.h"
|
||||
#include "peripherals/broadcom/interrupts.h"
|
||||
#include "supervisor/port.h"
|
||||
|
||||
#include "mphalport.h"
|
||||
|
||||
|
|
@ -39,6 +40,7 @@ void common_hal_mcu_on_next_reset(mcu_runmode_t runmode) {
|
|||
}
|
||||
|
||||
void common_hal_mcu_reset(void) {
|
||||
reset_cpu();
|
||||
}
|
||||
|
||||
// The singleton microcontroller.Processor object, bound to microcontroller.cpu
|
||||
|
|
|
|||
Loading…
Reference in a new issue