@@ -155,7 +155,7 @@ extern void esp_unregister_npl_funcs (void);
155155extern void npl_freertos_mempool_deinit (void );
156156extern uint32_t r_os_cputime_get32 (void );
157157extern uint32_t r_os_cputime_ticks_to_usecs (uint32_t ticks );
158- extern void r_ble_lll_rfmgmt_set_sleep_cb (void * s_cb , void * w_cb , void * s_arg ,
158+ extern void r_ble_lll_sleep_set_sleep_cb (void * s_cb , void * w_cb , void * s_arg ,
159159 void * w_arg , uint32_t us_to_enabled );
160160extern void r_ble_rtc_wake_up_state_clr (void );
161161extern int os_msys_init (void );
@@ -788,10 +788,10 @@ esp_err_t controller_sleep_init(void)
788788#ifdef CONFIG_BT_LE_SLEEP_ENABLE
789789 ESP_LOGW (NIMBLE_PORT_LOG_TAG , "BLE modem sleep is enabled" );
790790#if CONFIG_FREERTOS_USE_TICKLESS_IDLE
791- r_ble_lll_rfmgmt_set_sleep_cb (controller_sleep_cb , controller_wakeup_cb , 0 , 0 ,
791+ r_ble_lll_sleep_set_sleep_cb (controller_sleep_cb , controller_wakeup_cb , 0 , 0 ,
792792 BLE_RTC_DELAY_US_LIGHT_SLEEP );
793793#else
794- r_ble_lll_rfmgmt_set_sleep_cb (controller_sleep_cb , controller_wakeup_cb , 0 , 0 ,
794+ r_ble_lll_sleep_set_sleep_cb (controller_sleep_cb , controller_wakeup_cb , 0 , 0 ,
795795 BLE_RTC_DELAY_US_MODEM_SLEEP );
796796#endif /* FREERTOS_USE_TICKLESS_IDLE */
797797#endif // CONFIG_BT_LE_SLEEP_ENABLE
0 commit comments