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:
Wang Mengyang
2026-09-08 14:14:17 +08:00
parent 504babf48a
commit cdc7250eb6
@@ -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);