aboutsummaryrefslogtreecommitdiff
path: root/ports/stm32/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/stm32/main.c')
-rw-r--r--ports/stm32/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/stm32/main.c b/ports/stm32/main.c
index ef0e1e791..1a00ef3a1 100644
--- a/ports/stm32/main.c
+++ b/ports/stm32/main.c
@@ -547,6 +547,7 @@ void stm32_main(uint32_t reset_mode) {
// because the system timeout list (next_timeout) is only ever reset by BSS clearing.
// So for now we only init the lwIP stack once on power-up.
lwip_init();
+ systick_enable_dispatch(SYSTICK_DISPATCH_LWIP, mod_network_lwip_poll_wrapper);
#endif
#if defined(MICROPY_HW_UART_REPL)