summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/boards/stm32f4xx-prefix.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-06-28 23:32:03 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-06-28 23:32:03 +0300
commit8139494e54b5ad1630f30490216e9486b976bdb8 (patch)
treefb52e6c58f496e1ac1b5b65eaf58dc24e7e99c95 /stmhal/boards/stm32f4xx-prefix.c
parent9e215fa4c2773b7a4102aec4203c9bf74aa0eccc (diff)
downloadmicropython-8139494e54b5ad1630f30490216e9486b976bdb8.tar.gz
micropython-8139494e54b5ad1630f30490216e9486b976bdb8.zip
stmhal: Include mpconfig.h before all other includes.
It defines types used by all other headers. Fixes #691.
Diffstat (limited to 'stmhal/boards/stm32f4xx-prefix.c')
-rw-r--r--stmhal/boards/stm32f4xx-prefix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/boards/stm32f4xx-prefix.c b/stmhal/boards/stm32f4xx-prefix.c
index 4d2313075a..3bbb6bda0e 100644
--- a/stmhal/boards/stm32f4xx-prefix.c
+++ b/stmhal/boards/stm32f4xx-prefix.c
@@ -5,8 +5,8 @@
#include "stm32f4xx_hal.h"
-#include "misc.h"
#include "mpconfig.h"
+#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "pin.h"