summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-11-05 13:20:25 +1100
committerDamien George <damien.p.george@gmail.com>2019-11-05 13:20:25 +1100
commitcddb2dd0c3f7d55599bdb0e1994f8b81f8b22d10 (patch)
treede9592df6d482b171f111d00657f6e7b56c54b5a
parentc13f9f209d7a343fe306a24a04eb934ce905b631 (diff)
stm32/mpthreadport: Include runtime.h to get defn of mp_raise_msg.
-rw-r--r--ports/stm32/mpthreadport.c2
1 files changed, 1 insertions, 1 deletions
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 <stdio.h>
-#include "py/mpstate.h"
+#include "py/runtime.h"
#include "py/gc.h"
#include "py/mpthread.h"
#include "gccollect.h"