forked from wolfSSL/wolfssl
Merge pull request #8375 from kareem-wolfssl/zd19270
Fix warning about ESP_IDF_VERSION_MAJOR not being defined when defining FREERTOS.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user