mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(phy): side band optimize
This commit is contained in:
parent
2e0f850123
commit
c93d0dbcb4
@ -64,6 +64,11 @@ void coex_bt_high_prio(void);
|
|||||||
*/
|
*/
|
||||||
void phy_close_rf(void);
|
void phy_close_rf(void);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Set PHY internal params.
|
||||||
|
*/
|
||||||
|
void phy_param_set(uint8_t mode);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 4c46338b90a4f7aa2dc6a14736be1fe63f8a2e10
|
Subproject commit a16955d7b727b5ce966193df6bc4e0004d485312
|
@ -700,6 +700,9 @@ void esp_phy_load_cal_and_init(phy_rf_module_t module)
|
|||||||
char * phy_version = get_phy_version_str();
|
char * phy_version = get_phy_version_str();
|
||||||
ESP_LOGI(TAG, "phy_version %s", phy_version);
|
ESP_LOGI(TAG, "phy_version %s", phy_version);
|
||||||
|
|
||||||
|
// PHY Side band optimizaton
|
||||||
|
phy_param_set(1);
|
||||||
|
|
||||||
esp_phy_calibration_data_t* cal_data =
|
esp_phy_calibration_data_t* cal_data =
|
||||||
(esp_phy_calibration_data_t*) calloc(sizeof(esp_phy_calibration_data_t), 1);
|
(esp_phy_calibration_data_t*) calloc(sizeof(esp_phy_calibration_data_t), 1);
|
||||||
if (cal_data == NULL) {
|
if (cal_data == NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user