mirror of
https://github.com/espressif/esp-idf
synced 2025-03-12 10:39:11 -04:00
esp32/sha: Remove second enabling in esp_sha_lock_engine_common
This commit is contained in:
parent
fa40e43c8d
commit
b2455219cc
@ -182,9 +182,6 @@ static bool esp_sha_lock_engine_common(esp_sha_type sha_type, TickType_t ticks_t
|
||||
/* Just locked first engine,
|
||||
so enable SHA hardware */
|
||||
periph_module_enable(PERIPH_SHA_MODULE);
|
||||
DPORT_STALL_OTHER_CPU_START();
|
||||
ets_sha_enable();
|
||||
DPORT_STALL_OTHER_CPU_END();
|
||||
}
|
||||
|
||||
engines_in_use++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user