diff options
| author | Noralf Trønnes <noralf@tronnes.org> | 2018-08-02 14:52:03 +0200 |
|---|---|---|
| committer | Noralf Trønnes <noralf@tronnes.org> | 2018-08-16 17:11:20 +0200 |
| commit | 1ed0e45fc26a016645c91daf3e1c14cef5d477ba (patch) | |
| tree | 8edcc43af99fb2d78bc1234adb653634f33267bb /lib/utils/interrupt_char.h | |
| parent | b6822b86ac2627bb85df6fce5344a2078507d366 (diff) | |
Add i2cslave.I2CSlave bindings
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 |
