diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-06-28 23:32:03 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-06-28 23:32:03 +0300 |
commit | 8139494e54b5ad1630f30490216e9486b976bdb8 (patch) | |
tree | fb52e6c58f496e1ac1b5b65eaf58dc24e7e99c95 /stmhal/storage.c | |
parent | 9e215fa4c2773b7a4102aec4203c9bf74aa0eccc (diff) | |
download | micropython-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/storage.c')
-rw-r--r-- | stmhal/storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/storage.c b/stmhal/storage.c index ba7e303e21..001d87afe0 100644 --- a/stmhal/storage.c +++ b/stmhal/storage.c @@ -28,9 +28,9 @@ #include <string.h> #include <stm32f4xx_hal.h> +#include "mpconfig.h" #include "misc.h" #include "systick.h" -#include "mpconfig.h" #include "qstr.h" #include "obj.h" #include "led.h" |