diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2018-08-17 16:51:45 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-17 16:51:45 -0700 |
| commit | 4a4d84ba42fb84032b31344e14fc3bb1f9e8dce2 (patch) | |
| tree | ed2e486dea85dd416975d30e6beca608ce5597bc /lib/utils/interrupt_char.h | |
| parent | 5dd420f7ff2c87a5412a55fea29eb21615a89e14 (diff) | |
| parent | 11cbeb87adb10883fe46c46bd4e22e3ad3991ed3 (diff) | |
Merge pull request #1064 from notro/i2cslave
Add busio.I2CSlave
Diffstat (limited to 'lib/utils/interrupt_char.h')
| -rw-r--r-- | lib/utils/interrupt_char.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/utils/interrupt_char.h b/lib/utils/interrupt_char.h index ca50d4d56..e0b1db529 100644 --- a/lib/utils/interrupt_char.h +++ b/lib/utils/interrupt_char.h @@ -26,8 +26,11 @@ #ifndef MICROPY_INCLUDED_LIB_UTILS_INTERRUPT_CHAR_H #define MICROPY_INCLUDED_LIB_UTILS_INTERRUPT_CHAR_H +#include <stdbool.h> + extern int mp_interrupt_char; void mp_hal_set_interrupt_char(int c); void mp_keyboard_interrupt(void); +bool mp_hal_is_interrupted(void); #endif // MICROPY_INCLUDED_LIB_UTILS_INTERRUPT_CHAR_H |
