esp_pm_register_skip_light_sleep_callback() function
Register peripherals skip light sleep callback This function allows you to register a callback that gets the result that if light sleep should be skipped by peripherals.
Arguments
cb
function to get the result
Return value
- ESP_OK on success - ESP_ERR_NO_MEM if no more callback slots are available