This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 4c9630f537fedd861fec0e1ca547b9b8ae44fd61
Author: raiden00pl <[email protected]>
AuthorDate: Sat Aug 23 11:11:33 2025 +0200

    transport/ble_hci_socket.c: fix implicit declaration error
    
    fix NuttX compilation error with GCC14:
      mynewt-nimble/nimble/transport/socket/src/ble_hci_socket.c:921:12:
      error: implicit declaration of function 'ble_hci_sock_iso_tx';
    
    Signed-off-by: raiden00pl <[email protected]>
---
 nimble/transport/socket/src/ble_hci_socket.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/nimble/transport/socket/src/ble_hci_socket.c 
b/nimble/transport/socket/src/ble_hci_socket.c
index c0581c635..d76c4dfa5 100644
--- a/nimble/transport/socket/src/ble_hci_socket.c
+++ b/nimble/transport/socket/src/ble_hci_socket.c
@@ -915,11 +915,13 @@ ble_hci_sock_init(void)
     SYSINIT_PANIC_ASSERT(rc == 0);
 }
 
+#if MYNEWT_VAL(BLE_SOCK_USE_LINUX_BLUE) || MYNEWT_VAL(BLE_SOCK_USE_TCP)
 int
 ble_transport_to_ll_iso_impl(struct os_mbuf *om)
 {
     return ble_hci_sock_iso_tx(om);
 }
+#endif
 
 void
 ble_transport_ll_init(void)

Reply via email to