summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--lib/utils/pyexec.c2
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