diff options
| author | Dan Halbert <halbert@halwitz.org> | 2019-06-06 17:49:32 -0400 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2019-06-06 17:49:32 -0400 |
| commit | 62de2506e47c14a71c7a9fe04360697ccb966aeb (patch) | |
| tree | 2d6363f88e5d7c4666094138e217ec6a2a2b6b2b /ports/nrf/supervisor | |
| parent | c90ce2b9fa98dc8c2a1298524bc434d07393ad6a (diff) | |
Include display objects in gc.
Diffstat (limited to 'ports/nrf/supervisor')
| -rw-r--r-- | ports/nrf/supervisor/port.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ports/nrf/supervisor/port.c b/ports/nrf/supervisor/port.c index 85ecd6afe..8fbf75498 100644 --- a/ports/nrf/supervisor/port.c +++ b/ports/nrf/supervisor/port.c @@ -93,16 +93,22 @@ void reset_port(void) { i2c_reset(); spi_reset(); uart_reset(); + +#if CIRCUITPY_PULSEIO pwmout_reset(); pulseout_reset(); pulsein_reset(); +#endif + timers_reset(); - #if CIRCUITPY_RTC +#if CIRCUITPY_RTC rtc_reset(); - #endif +#endif +#if CIRCUITPY_BLEIO bleio_reset(); +#endif reset_all_pins(); } |
