summaryrefslogtreecommitdiff
path: root/esp8266/esp_mphal.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-09-29 10:13:17 -0700
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-09-29 10:15:38 -0700
commit6ab2c5e6cc6359c3419a9d8ee61b4e586864d048 (patch)
treeb27471a8e09a8cff12978cc7930a3ddf31cb2cde /esp8266/esp_mphal.h
parent53bfcc9e848c43e58694c7cb7a2356b31fc67445 (diff)
lib/interrupt_char: Factor out typical Ctrl+C handling from esp8266 port.
Utility functions for keyboard interrupt handling, to be reused across (baremetal) ports.
Diffstat (limited to 'esp8266/esp_mphal.h')
-rw-r--r--esp8266/esp_mphal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/esp_mphal.h b/esp8266/esp_mphal.h
index fa52ae53a..7a71c0f03 100644
--- a/esp8266/esp_mphal.h
+++ b/esp8266/esp_mphal.h
@@ -28,10 +28,10 @@
#define _INCLUDED_MPHAL_H_
#include "py/ringbuf.h"
+#include "lib/utils/interrupt_char.h"
#include "xtirq.h"
void mp_keyboard_interrupt(void);
-extern int interrupt_char;
struct _mp_print_t;
// Structure for UART-only output via mp_printf()