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. --- esp8266/modpyb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'esp8266/modpyb.c') diff --git a/esp8266/modpyb.c b/esp8266/modpyb.c index c5c24c07d..36a9d6bf2 100644 --- a/esp8266/modpyb.c +++ b/esp8266/modpyb.c @@ -29,9 +29,9 @@ #include "py/nlr.h" #include "py/obj.h" #include "py/gc.h" +#include "py/mphal.h" #include "gccollect.h" #include "pyexec.h" -#include MICROPY_HAL_H #include "user_interface.h" #include "modpyb.h" -- cgit v1.2.3