mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(jpeg): support jpeg sleep retention on esp32p4
This commit is contained in:
@@ -98,6 +98,8 @@ bool peripheral_domain_pd_allowed(void)
|
||||
|
||||
// ESP32P4 supports LCDCAM sleep retention
|
||||
RETENTION_MODULE_BITMAP_SET(&mask, SLEEP_RETENTION_MODULE_LCDCAM);
|
||||
// ESP32P4 supports JPEG sleep retention
|
||||
RETENTION_MODULE_BITMAP_SET(&mask, SLEEP_RETENTION_MODULE_JPEG);
|
||||
|
||||
const sleep_retention_module_bitmap_t peripheral_domain_inited_modules = sleep_retention_module_bitmap_and(inited_modules, mask);
|
||||
const sleep_retention_module_bitmap_t peripheral_domain_created_modules = sleep_retention_module_bitmap_and(created_modules, mask);
|
||||
|
||||
Reference in New Issue
Block a user