Skip to content

Commit

Permalink
Merge pull request #8375 from kareem-wolfssl/zd19270
Browse files Browse the repository at this point in the history
Fix warning about ESP_IDF_VERSION_MAJOR not being defined when defining FREERTOS.
  • Loading branch information
dgarske authored Jan 24, 2025
2 parents 20ae10f + eb64ea1 commit 8ab85a2
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 8ab85a2

Please sign in to comment.