diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2018-12-07 16:11:21 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2018-12-07 16:11:21 -0800 |
| commit | 801d9a5abcd912d81d3a6a95e8cc22635fced3ef (patch) | |
| tree | fdd83d10865f60803efa7e4e6415aeda6d302932 /ports/nrf/background.c | |
| parent | 2fbaceb2b15ff7d2c368a6cf4dfc10881f5979e7 (diff) | |
Fix running the USB task on nRF.
It wasn't being run due to a rework done only on the atmel-samd port.
The rework itself isn't needed now that the heap check triggers safe
mode instead of throwing a Python exception. So, I've removed the
rework.
Diffstat (limited to 'ports/nrf/background.c')
| -rw-r--r-- | ports/nrf/background.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/nrf/background.c b/ports/nrf/background.c index f614b6bd0..f022b5bc9 100644 --- a/ports/nrf/background.c +++ b/ports/nrf/background.c @@ -28,8 +28,11 @@ #include "supervisor/usb.h" #endif +#include "supervisor/shared/stack.h" + void run_background_tasks(void) { #ifdef NRF52840 usb_background(); #endif + assert_heap_ok(); } |
