change(esp_hw_support): update some modules sleep retention init dependency bitmap

This commit is contained in:
Li Shuai
2024-09-19 12:55:48 +08:00
parent 61b7a971d3
commit 44001a9d70
11 changed files with 18 additions and 18 deletions

View File

@@ -223,7 +223,7 @@ static void uart_module_enable(uart_port_t uart_num)
.arg = &uart_context[uart_num],
},
},
.depends = BIT(SLEEP_RETENTION_MODULE_CLOCK_SYSTEM),
.depends = RETENTION_MODULE_BITMAP_INIT(CLOCK_SYSTEM)
};
if (sleep_retention_module_init(module, &init_param) == ESP_OK) {
uart_context[uart_num].retention_link_inited = true;