From 9dfb4ae6aacd5eb4317f7a474b9da00c1cec9088 Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Thu, 25 Jun 2020 22:55:40 +0200 Subject: [PATCH] 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. --- ports/nrf/drivers/bluetooth/ble_uart.c | 1 + 1 file changed, 1 insertion(+) 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