aboutsummaryrefslogtreecommitdiff
path: root/stmhal/rtc.c
diff options
context:
space:
mode:
authorPaul Sokolovsky2014-06-28 23:32:03 +0300
committerPaul Sokolovsky2014-06-28 23:32:03 +0300
commit8139494e54b5ad1630f30490216e9486b976bdb8 (patch)
treefb52e6c58f496e1ac1b5b65eaf58dc24e7e99c95 /stmhal/rtc.c
parent9e215fa4c2773b7a4102aec4203c9bf74aa0eccc (diff)
stmhal: Include mpconfig.h before all other includes.
It defines types used by all other headers. Fixes #691.
Diffstat (limited to 'stmhal/rtc.c')
-rw-r--r--stmhal/rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/rtc.c b/stmhal/rtc.c
index 412816c39..8f0d00732 100644
--- a/stmhal/rtc.c
+++ b/stmhal/rtc.c
@@ -28,8 +28,8 @@
#include "stm32f4xx_hal.h"
-#include "misc.h"
#include "mpconfig.h"
+#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"