mirror of
https://github.com/Links2004/arduinoWebSockets.git
synced 2025-07-29 23:27:13 +02:00
Suppress esp32/sha.h
warning
This commit is contained in:
@ -42,9 +42,13 @@ extern "C" {
|
|||||||
#include <esp_system.h>
|
#include <esp_system.h>
|
||||||
|
|
||||||
#if ESP_IDF_VERSION_MAJOR >= 4
|
#if ESP_IDF_VERSION_MAJOR >= 4
|
||||||
#include <esp32/sha.h>
|
#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(1, 0, 6) )
|
||||||
|
#include "sha/sha_parallel_engine.h"
|
||||||
|
#else
|
||||||
|
#include <esp32/sha.h>
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#include <hwcrypto/sha.h>
|
#include <hwcrypto/sha.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user