Skip to content

Commit fa76d52

Browse files
iabdalkaderdpgeorge
authored andcommitted
drivers/ninaw10: Rename Bluetooth HCI backend driver.
Rename `bt_hci` to `bthci_uart` for consistency with the CYW43 driver and to distinguish it from HCI backends that use a different transport. Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
1 parent 193460d commit fa76d52

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
#define OCF_SET_EVENT_MASK (0x0001)
5151
#define OCF_RESET (0x0003)
5252

53-
#define error_printf(...) // mp_printf(&mp_plat_print, "nina_bt_hci.c: " __VA_ARGS__)
54-
#define debug_printf(...) // mp_printf(&mp_plat_print, "nina_bt_hci.c: " __VA_ARGS__)
53+
#define error_printf(...) // mp_printf(&mp_plat_print, "nina_bthci_uart.c: " __VA_ARGS__)
54+
#define debug_printf(...) // mp_printf(&mp_plat_print, "nina_bthci_uart.c: " __VA_ARGS__)
5555

5656
// Provided by the port, and also possibly shared with the stack.
5757
extern uint8_t mp_bluetooth_hci_cmd_buf[4 + 256];

ports/rp2/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ if (MICROPY_PY_NETWORK_NINAW10)
431431
432432
# Enable NINA-W10 WiFi and Bluetooth drivers.
433433
list(APPEND MICROPY_SOURCE_DRIVERS
434-
${MICROPY_DIR}/drivers/ninaw10/nina_bt_hci.c
434+
${MICROPY_DIR}/drivers/ninaw10/nina_bthci_uart.c
435435
${MICROPY_DIR}/drivers/ninaw10/nina_wifi_drv.c
436436
${MICROPY_DIR}/drivers/ninaw10/nina_wifi_bsp.c
437437
${MICROPY_DIR}/drivers/ninaw10/machine_pin_nina.c

0 commit comments

Comments
 (0)