From c38ea32810f2b8b55c1585a3022902c359f84d6e Mon Sep 17 00:00:00 2001 From: Vincenzo Frascino Date: Wed, 26 Oct 2016 10:33:26 +0100 Subject: [PATCH] lib/utils/pyexec: Add mp_hal_set_interrupt_char() prototype. This patch removes a compilation warning in pyexec. Signed-off-by: Vincenzo Frascino --- lib/utils/pyexec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/utils/pyexec.c b/lib/utils/pyexec.c index d7c2570240..ed424a2f95 100644 --- a/lib/utils/pyexec.c +++ b/lib/utils/pyexec.c @@ -53,6 +53,8 @@ STATIC bool repl_display_debugging_info = 0; #define EXEC_FLAG_IS_REPL (4) #define EXEC_FLAG_SOURCE_IS_RAW_CODE (8) +extern void mp_hal_set_interrupt_char (int c); + // parses, compiles and executes the code in the lexer // frees the lexer before returning // EXEC_FLAG_PRINT_EOF prints 2 EOF chars: 1 after normal output, 1 after exception output