diff options
| author | Glenn Ruben Bakke | 2020-06-25 22:55:40 +0200 |
|---|---|---|
| committer | Damien George | 2020-07-01 22:48:25 +1000 |
| commit | 9dfb4ae6aacd5eb4317f7a474b9da00c1cec9088 (patch) | |
| tree | af06c74ccf11f4a84fc0e876fa20c5976b9c3e60 | |
| parent | 4050281311744ae5946aa1faec8aa75339bcab2b (diff) | |
nrf/bluetooth/ble_uart: Fix implicit declaration of function.
mp_keyboard_interrupt() triggers a compiler error because the function is
implicitly declared. This commit adds "py/runtime.h" to the includes.
Fixes issue #5732.
| -rw-r--r-- | ports/nrf/drivers/bluetooth/ble_uart.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/nrf/drivers/bluetooth/ble_uart.c b/ports/nrf/drivers/bluetooth/ble_uart.c index b94780e26..f6bc7f719 100644 --- a/ports/nrf/drivers/bluetooth/ble_uart.c +++ b/ports/nrf/drivers/bluetooth/ble_uart.c @@ -31,6 +31,7 @@ #include "ringbuffer.h" #include "mphalport.h" #include "lib/utils/interrupt_char.h" +#include "py/runtime.h" #if MICROPY_PY_BLE_NUS |
