1 parent 108409c commit c5c13a8Copy full SHA for c5c13a8
1 file changed
ports/nrf/supervisor/port.c
@@ -50,6 +50,7 @@
50
#include "common-hal/pulseio/PulseIn.h"
51
#include "common-hal/rtc/RTC.h"
52
#include "common-hal/neopixel_write/__init__.h"
53
+#include "common-hal/watchdog/WatchDogTimer.h"
54
55
#include "shared-bindings/microcontroller/__init__.h"
56
#include "shared-bindings/rtc/__init__.h"
@@ -189,6 +190,10 @@ void reset_port(void) {
189
190
bleio_reset();
191
#endif
192
193
+#if CIRCUITPY_WATCHDOG
194
+ watchdog_reset();
195
+#endif
196
+
197
reset_all_pins();
198
}
199
0 commit comments