mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
fix(bt): fixed use of wrong function to get BR/EDR power table on ESP32-S31
header file "btdm_user_cfg.h" is not included, which causes the undefined macro "UC_BT_CTRL_BR_EDR_IS_ENABLE" in btdm_external.c. In this case, function wr_btdm_external_bb_get_tx_pwr_table returns a wrong tx power table for BR/EDR
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include "btdm_external.h"
|
||||
#include "btdm_user_cfg.h"
|
||||
|
||||
extern const int8_t *bt_bb_get_tx_pwr_table(uint8_t *length);
|
||||
extern const int8_t *bt_bb_tx_pwr_table_get(uint8_t *length, uint8_t modem_cfg);
|
||||
|
||||
Reference in New Issue
Block a user