Skip to content

Commit

Permalink
ESP32 declaration fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gojimmypi committed Mar 24, 2023
1 parent 2619528 commit 4c638b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wolfcrypt/src/port/Espressif/esp32_sha.c
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ int esp_unroll_sha_module_enable(WC_ESP32SHA* ctx)
while (periph_ll_periph_enabled(PERIPH_SHA_MODULE)) {
#else
/* this is the bit-mask for our SHA CLK_EN_REG */
uint32_t this_sha_mask = periph_ll_get_clk_en_mask(PERIPH_SHA_MODULE);
this_sha_mask = periph_ll_get_clk_en_mask(PERIPH_SHA_MODULE);
asm volatile("memw");
while ((this_sha_mask & *(uint32_t*)DPORT_PERI_CLK_EN_REG) != 0) {
#endif
Expand Down

0 comments on commit 4c638b9

Please sign in to comment.