diff --git a/src/ESPAsyncWebServer/src/AsyncWebSocket.cpp b/src/ESPAsyncWebServer/src/AsyncWebSocket.cpp index 497a7854..3cdec39f 100644 --- a/src/ESPAsyncWebServer/src/AsyncWebSocket.cpp +++ b/src/ESPAsyncWebServer/src/AsyncWebSocket.cpp @@ -20,23 +20,16 @@ */ #include "Arduino.h" #include "AsyncWebSocket.h" - #include -// #ifndef ESP8266 -// #include "mbedtls/sha1.h" -// #else -// #include -// #endif - -#ifdef ESP8266 - #include "mbedtls/sha1.h" -#else - #if ESP_ARDUINO_VERSION_MAJOR > 2 - #include "SHA1Builder.h" - #else - #include - #endif +#ifdef ESP8266 + #include +#else + #if ESP_ARDUINO_VERSION_MAJOR > 2 + #include "SHA1Builder.h" + #else + #include "mbedtls/sha1.h" + #endif #endif #define MAX_PRINTF_LEN 64