From 731f359292c0e2630873df1a19c5baac7287024f Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 30 Oct 2015 23:03:58 +0000 Subject: all: Add py/mphal.h and use it in all ports. py/mphal.h contains declarations for generic mp_hal_XXX functions, such as stdio and delay/ticks, which ports should provide definitions for. A port will also provide mphalport.h with further HAL declarations. --- stmhal/led.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'stmhal/led.c') diff --git a/stmhal/led.c b/stmhal/led.c index e3dbdb594..ca52931e3 100644 --- a/stmhal/led.c +++ b/stmhal/led.c @@ -25,15 +25,14 @@ */ #include -#include STM32_HAL_H #include "py/nlr.h" #include "py/runtime.h" +#include "py/mphal.h" #include "timer.h" #include "led.h" #include "pin.h" #include "genhdr/pins.h" -#include "mphal.h" #if defined(MICROPY_HW_LED1) -- cgit v1.2.3