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. --- unix/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unix/input.c') diff --git a/unix/input.c b/unix/input.c index 9baa342b9..a38b63ae3 100644 --- a/unix/input.c +++ b/unix/input.c @@ -29,10 +29,10 @@ #include #include "py/mpstate.h" +#include "py/mphal.h" #include "input.h" #if MICROPY_USE_READLINE == 1 -#include MICROPY_HAL_H #include "lib/mp-readline/readline.h" #elif MICROPY_USE_READLINE == 2 #include -- cgit v1.2.3