Skip to content

Commit

Permalink
corrected ESP_LOG()
Browse files Browse the repository at this point in the history
  • Loading branch information
gojimmypi committed Sep 25, 2024
1 parent 3f23b17 commit c895236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wolfcrypt/src/port/Espressif/esp32_mp.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ static int esp_mp_hw_wait_clean(void)
/* This is highly unusual and will likely only occur in multi-threaded
* application. wolfSSL ctx is not thread safe. */
#ifndef SINGLE_THREADED
ESP_LOG(TAG, "Consider #define SINGLE_THREADED. See docs");
ESP_LOGI(TAG, "Consider #define SINGLE_THREADED. See docs");
#endif
ESP_LOGE(TAG, "esp_mp_hw_wait_clean waiting HW ready timed out.");
ret = WC_HW_WAIT_E; /* hardware is busy, MP_HW_BUSY; */
Expand Down Expand Up @@ -422,7 +422,7 @@ static int esp_mp_hw_lock(void)
if (ret == ESP_OK) {
/* lock hardware; there should be exactly one instance
* of esp_CryptHwMutexLock(&mp_mutex ...) in code */

ret = esp_CryptHwMutexLock(&mp_mutex, ESP_MP_HW_LOCK_MAX_DELAY);
if (ret != ESP_OK) {
ESP_LOGE(TAG, "mp engine lock failed.");
Expand Down

0 comments on commit c895236

Please sign in to comment.