wireless/bluetooth/bt_hcicore.c: Avoid assuming wlinfo expansion
This commit is contained in:
parent
f0fc385232
commit
af4f81a7e1
@ -2144,7 +2144,6 @@ void bt_conn_cb_register(FAR struct bt_conn_cb_s *cb)
|
||||
g_callback_list = cb;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_DEBUG_WIRELESS_ERROR
|
||||
FAR const char *bt_addr_str(FAR const bt_addr_t *addr)
|
||||
{
|
||||
static char bufs[2][18];
|
||||
@ -2170,7 +2169,6 @@ FAR const char *bt_addr_le_str(FAR const bt_addr_le_t *addr)
|
||||
|
||||
return str;
|
||||
}
|
||||
#endif /* CONFIG_DEBUG_WIRELESS_ERROR */
|
||||
|
||||
#else
|
||||
|
||||
|
@ -327,10 +327,8 @@ int bt_hci_cmd_send_sync(uint16_t opcode, FAR struct bt_buf_s *buf,
|
||||
* not multi-threading safe
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_DEBUG_WIRELESS_ERROR
|
||||
FAR const char *bt_addr_str(FAR const bt_addr_t *addr);
|
||||
FAR const char *bt_addr_le_str(FAR const bt_addr_le_t *addr);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Name: bt_start_advertising
|
||||
|
Loading…
x
Reference in New Issue
Block a user