summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/esp_mphal.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-05-24 01:37:56 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-05-24 01:37:56 +0300
commit4681b86850076c013be2477d3850fd536361b62e (patch)
tree4e7c093ec4318c03ee23c986dd0a9ceee4428439 /esp8266/esp_mphal.h
parent116eeee6dbdffc52a34c3e18e001597e2bfb7bcd (diff)
downloadmicropython-4681b86850076c013be2477d3850fd536361b62e.tar.gz
micropython-4681b86850076c013be2477d3850fd536361b62e.zip
esp8266/esp_mphal: Handle Ctrl+C from dupterm (e.g. WebREPL).
Diffstat (limited to 'esp8266/esp_mphal.h')
-rw-r--r--esp8266/esp_mphal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/esp8266/esp_mphal.h b/esp8266/esp_mphal.h
index 13b1c8fdf0..377bbeb6a4 100644
--- a/esp8266/esp_mphal.h
+++ b/esp8266/esp_mphal.h
@@ -29,6 +29,9 @@
#include "py/ringbuf.h"
+void mp_keyboard_interrupt(void);
+extern int interrupt_char;
+
struct _mp_print_t;
// Structure for UART-only output via mp_printf()
extern const struct _mp_print_t mp_debug_print;