Skip to content

Commit 18e8e18

Browse files
committed
Merge branch 'bugfix/fixed_c6_c2_issues_master' into 'master'
Bugfix/fixed c6 c2 issues master Closes BLERP-946, BLERP-940, BLERP-939, BLERP-937, BLERP-934, BLERP-906, BLERP-932, and BLERP-959 See merge request espressif/esp-idf!32977
2 parents 7e6cc5d + 8c3e2c9 commit 18e8e18

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

components/bt/controller/esp32c6/bt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ extern void r_ble_rtc_wake_up_state_clr(void);
134134
extern int os_msys_init(void);
135135
extern void os_msys_deinit(void);
136136
#if CONFIG_FREERTOS_USE_TICKLESS_IDLE
137-
extern const sleep_retention_entries_config_t *esp_ble_mac_retention_link_get(uint8_t *size, uint8_t extra);
137+
extern sleep_retention_entries_config_t *r_esp_ble_mac_retention_link_get(uint8_t *size, uint8_t extra);
138138
extern void r_esp_ble_set_wakeup_overhead(uint32_t overhead);
139139
#endif /* CONFIG_FREERTOS_USE_TICKLESS_IDLE */
140140
extern void r_esp_ble_change_rtc_freq(uint32_t freq);
@@ -569,7 +569,7 @@ static esp_err_t sleep_modem_ble_mac_retention_init(void *arg)
569569
{
570570
uint8_t size;
571571
int extra = *(int *)arg;
572-
const sleep_retention_entries_config_t *ble_mac_modem_config = esp_ble_mac_retention_link_get(&size, extra);
572+
sleep_retention_entries_config_t *ble_mac_modem_config = r_esp_ble_mac_retention_link_get(&size, extra);
573573
esp_err_t err = sleep_retention_entries_create(ble_mac_modem_config, size, REGDMA_LINK_PRI_BT_MAC_BB, SLEEP_RETENTION_MODULE_BLE_MAC);
574574
if (err == ESP_OK) {
575575
ESP_LOGI(NIMBLE_PORT_LOG_TAG, "Modem BLE MAC retention initialization");

components/bt/controller/esp32h2/bt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ extern void r_ble_rtc_wake_up_state_clr(void);
126126
extern int os_msys_init(void);
127127
extern void os_msys_deinit(void);
128128
#if CONFIG_FREERTOS_USE_TICKLESS_IDLE
129-
extern const sleep_retention_entries_config_t *esp_ble_mac_retention_link_get(uint8_t *size, uint8_t extra);
129+
extern sleep_retention_entries_config_t *r_esp_ble_mac_retention_link_get(uint8_t *size, uint8_t extra);
130130
extern void r_esp_ble_set_wakeup_overhead(uint32_t overhead);
131131
#endif /* CONFIG_FREERTOS_USE_TICKLESS_IDLE */
132132
extern void r_esp_ble_change_rtc_freq(uint32_t freq);
@@ -555,7 +555,7 @@ static esp_err_t sleep_modem_ble_mac_retention_init(void *arg)
555555
{
556556
uint8_t size;
557557
int extra = *(int *)arg;
558-
const sleep_retention_entries_config_t *ble_mac_modem_config = esp_ble_mac_retention_link_get(&size, extra);
558+
sleep_retention_entries_config_t *ble_mac_modem_config = r_esp_ble_mac_retention_link_get(&size, extra);
559559
esp_err_t err = sleep_retention_entries_create(ble_mac_modem_config, size, REGDMA_LINK_PRI_BT_MAC_BB, SLEEP_RETENTION_MODULE_BLE_MAC);
560560
if (err == ESP_OK) {
561561
ESP_LOGI(NIMBLE_PORT_LOG_TAG, "Modem BLE MAC retention initialization");

0 commit comments

Comments
 (0)