Skip to content

Commit

Permalink
Fix warning about ESP_IDF_VERSION_MAJOR not being defined when defini…
Browse files Browse the repository at this point in the history
…ng FREERTOS.
  • Loading branch information
kareem-wolfssl committed Jan 24, 2025
1 parent dd2c5b1 commit eb64ea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wolfssl/wolfcrypt/wc_port.h
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
#else /* MULTI_THREADED */
/* FREERTOS comes first to enable use of FreeRTOS Windows simulator only */
#if defined(FREERTOS)
#if ESP_IDF_VERSION_MAJOR >= 4
#if defined(ESP_IDF_VERSION_MAJOR) && (ESP_IDF_VERSION_MAJOR >= 4)
typedef SemaphoreHandle_t wolfSSL_Mutex;
#else
typedef xSemaphoreHandle wolfSSL_Mutex;
Expand Down

0 comments on commit eb64ea1

Please sign in to comment.