summaryrefslogtreecommitdiff
path: root/stmhal/flash.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-07-03 17:37:22 +1000
committerDamien George <damien.p.george@gmail.com>2017-07-03 17:37:22 +1000
commit80b31dc0972eca3f67dd2be7518b133e316e8f32 (patch)
tree93f5f8153bdb5b2293c851d85aba153b873433e8 /stmhal/flash.c
parent5b509dbc7bd542ad9fdc7e94f8b8c096db8bef40 (diff)
stmhal: Clean up some header includes.
Diffstat (limited to 'stmhal/flash.c')
-rw-r--r--stmhal/flash.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/stmhal/flash.c b/stmhal/flash.c
index 29de8b8da..e374be0e5 100644
--- a/stmhal/flash.c
+++ b/stmhal/flash.c
@@ -24,11 +24,9 @@
* THE SOFTWARE.
*/
-#include STM32_HAL_H
-
-#include "flash.h"
-#include "mpconfigport.h"
+#include "py/mpconfig.h"
#include "py/misc.h"
+#include "flash.h"
typedef struct {
uint32_t base_address;