fix(ble): added c6 config check for ble light sleep

This commit is contained in:
cjin
2024-06-24 10:12:51 +08:00
committed by zwl
parent c4a22160c7
commit b67ff61d34
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -579,6 +579,9 @@ esp_err_t controller_sleep_init(void)
goto error;
}
#if CONFIG_FREERTOS_USE_TICKLESS_IDLE
#if CONFIG_BT_LE_SLEEP_ENABLE && !CONFIG_MAC_BB_PD
#error "CONFIG_MAC_BB_PD required for BLE light sleep to run properly"
#endif // CONFIG_BT_LE_SLEEP_ENABLE && !CONFIG_MAC_BB_PD
/* Create a new regdma link for BLE related register restoration */
rc = sleep_modem_ble_mac_modem_state_init(1);
assert(rc == 0);