diff options
author | Vincenzo Frascino <vincenzo.frascino@linaro.org> | 2016-10-26 10:33:26 +0100 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-10-26 13:42:27 +0300 |
commit | c38ea32810f2b8b55c1585a3022902c359f84d6e (patch) | |
tree | 7305cad72f8b283efc069bbfab82646fe4b3b5b8 /lib/utils/pyexec.c | |
parent | 73b72799f3e500f6db0834b30b1c68fc8941093f (diff) | |
download | micropython-c38ea32810f2b8b55c1585a3022902c359f84d6e.tar.gz micropython-c38ea32810f2b8b55c1585a3022902c359f84d6e.zip |
lib/utils/pyexec: Add mp_hal_set_interrupt_char() prototype.
This patch removes a compilation warning in pyexec.
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@linaro.org>
Diffstat (limited to 'lib/utils/pyexec.c')
-rw-r--r-- | lib/utils/pyexec.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |