summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--drivers/ninaw10/nina_bthci_uart.c (renamed from drivers/ninaw10/nina_bt_hci.c)4
-rw-r--r--ports/rp2/CMakeLists.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ninaw10/nina_bt_hci.c b/drivers/ninaw10/nina_bthci_uart.c
index f0d1b9bc89..5063171109 100644
--- a/drivers/ninaw10/nina_bt_hci.c
+++ b/drivers/ninaw10/nina_bthci_uart.c
@@ -50,8 +50,8 @@
#define OCF_SET_EVENT_MASK (0x0001)
#define OCF_RESET (0x0003)
-#define error_printf(...) // mp_printf(&mp_plat_print, "nina_bt_hci.c: " __VA_ARGS__)
-#define debug_printf(...) // mp_printf(&mp_plat_print, "nina_bt_hci.c: " __VA_ARGS__)
+#define error_printf(...) // mp_printf(&mp_plat_print, "nina_bthci_uart.c: " __VA_ARGS__)
+#define debug_printf(...) // mp_printf(&mp_plat_print, "nina_bthci_uart.c: " __VA_ARGS__)
// Provided by the port, and also possibly shared with the stack.
extern uint8_t mp_bluetooth_hci_cmd_buf[4 + 256];
diff --git a/ports/rp2/CMakeLists.txt b/ports/rp2/CMakeLists.txt
index fcc1a1e1b9..53d00c7dfd 100644
--- a/ports/rp2/CMakeLists.txt
+++ b/ports/rp2/CMakeLists.txt
@@ -431,7 +431,7 @@ if (MICROPY_PY_NETWORK_NINAW10)
# Enable NINA-W10 WiFi and Bluetooth drivers.
list(APPEND MICROPY_SOURCE_DRIVERS
- ${MICROPY_DIR}/drivers/ninaw10/nina_bt_hci.c
+ ${MICROPY_DIR}/drivers/ninaw10/nina_bthci_uart.c
${MICROPY_DIR}/drivers/ninaw10/nina_wifi_drv.c
${MICROPY_DIR}/drivers/ninaw10/nina_wifi_bsp.c
${MICROPY_DIR}/drivers/ninaw10/machine_pin_nina.c