diff --git a/ports/stm32/mpthreadport.c b/ports/stm32/mpthreadport.c index 0077e1393..4e1ebf064 100644 --- a/ports/stm32/mpthreadport.c +++ b/ports/stm32/mpthreadport.c @@ -26,7 +26,7 @@ #include -#include "py/mpstate.h" +#include "py/runtime.h" #include "py/gc.h" #include "py/mpthread.h" #include "gccollect.h"