wireless/bluetooth/bt_hcicore.c: Avoid assuming wlinfo expansion

This commit is contained in:
YAMAMOTO Takashi 2020-11-23 17:18:31 +09:00 committed by Xiang Xiao
parent f0fc385232
commit af4f81a7e1
2 changed files with 0 additions and 4 deletions

View File

@ -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

View File

@ -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