summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/systick.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/systick.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/systick.c')
-rw-r--r--stmhal/systick.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stmhal/systick.c b/stmhal/systick.c
index 8a8d6403dc..196f1fbcae 100644
--- a/stmhal/systick.c
+++ b/stmhal/systick.c
@@ -25,6 +25,7 @@
*/
#include <stm32f4xx_hal.h>
+#include "mpconfig.h"
#include "misc.h"
#include "systick.h"