Skip to content

Commit 367d4b6

Browse files
committed
drivers/ninaw10: Rename Bluetooth HCI backend driver.
Rename `bthci` 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 8e85232 commit 367d4b6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/ninaw10/nina_bt_hci.c renamed to drivers/ninaw10/nina_bthci_uart.c

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
@@ -425,7 +425,7 @@ if (MICROPY_PY_NETWORK_NINAW10)
425425

426426
# Enable NINA-W10 WiFi and Bluetooth drivers.
427427
list(APPEND MICROPY_SOURCE_DRIVERS
428-
${MICROPY_DIR}/drivers/ninaw10/nina_bt_hci.c
428+
${MICROPY_DIR}/drivers/ninaw10/nina_bthci_uart.c
429429
${MICROPY_DIR}/drivers/ninaw10/nina_wifi_drv.c
430430
${MICROPY_DIR}/drivers/ninaw10/nina_wifi_bsp.c
431431
${MICROPY_DIR}/drivers/ninaw10/machine_pin_nina.c

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy