1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-22 21:22:22 +01:00
This commit is contained in:
J. Nick Koston
2025-09-18 15:11:52 -05:00
parent f15c83462c
commit 080fe6eae5

View File

@@ -4,7 +4,7 @@
#ifdef USE_ESP32
#include "mbedtls/sha256.h"
#elif defined(USE_ESP8266) || defined(USE_RP2040) || defined(USE_LIBRETINY)
#elif defined(USE_ARDUINO)
#include <SHA256.h>
#endif
@@ -45,7 +45,7 @@ void SHA256::calculate() {
mbedtls_sha256_finish(&this->ctx_->ctx, this->ctx_->hash);
}
#elif defined(USE_ESP8266) || defined(USE_RP2040) || defined(USE_LIBRETINY)
#elif defined(USE_ARDUINO)
struct SHA256::SHA256Context {
::SHA256 sha;