We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fca297 commit 1a80334Copy full SHA for 1a80334
ports/unix/mphalport.h
@@ -24,12 +24,14 @@
24
* THE SOFTWARE.
25
*/
26
#include <unistd.h>
27
+#include <stdbool.h>
28
29
#ifndef CHAR_CTRL_C
30
#define CHAR_CTRL_C (3)
31
#endif
32
33
void mp_hal_set_interrupt_char(char c);
34
+bool mp_hal_is_interrupted(void);
35
36
void mp_hal_stdio_mode_raw(void);
37
void mp_hal_stdio_mode_orig(void);
ports/unix/unix_mphal.c
@@ -81,6 +81,10 @@ void mp_hal_set_interrupt_char(char c) {
81
}
82
83
84
+bool mp_hal_is_interrupted(void) {
85
+ return false;
86
+}
87
+
88
#if MICROPY_USE_READLINE == 1
89
90
#include <termios.h>
0 commit comments