summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/bufhelper.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/bufhelper.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/bufhelper.c')
-rw-r--r--stmhal/bufhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/bufhelper.c b/stmhal/bufhelper.c
index dd72655520..1f823ea963 100644
--- a/stmhal/bufhelper.c
+++ b/stmhal/bufhelper.c
@@ -24,8 +24,8 @@
* THE SOFTWARE.
*/
-#include "misc.h"
#include "mpconfig.h"
+#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "bufhelper.h"