mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/remove_second_sha_enable_v3.2' into 'release/v3.2'
esp32/sha: Remove second enabling in esp_sha_lock_engine_common (backport v3.2) See merge request idf/esp-idf!4780
This commit is contained in:
commit
225bc0f80a
@ -182,9 +182,6 @@ static bool esp_sha_lock_engine_common(esp_sha_type sha_type, TickType_t ticks_t
|
|||||||
/* Just locked first engine,
|
/* Just locked first engine,
|
||||||
so enable SHA hardware */
|
so enable SHA hardware */
|
||||||
periph_module_enable(PERIPH_SHA_MODULE);
|
periph_module_enable(PERIPH_SHA_MODULE);
|
||||||
DPORT_STALL_OTHER_CPU_START();
|
|
||||||
ets_sha_enable();
|
|
||||||
DPORT_STALL_OTHER_CPU_END();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
engines_in_use++;
|
engines_in_use++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user