From 6d470a642906199087b0115dfc6ca3e66caca318 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 22 Aug 2022 13:12:33 +0200 Subject: [PATCH] temp fix for crash with ESP32-S2 --- tasmota/tasmota_support/support_esp.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/tasmota_support/support_esp.ino b/tasmota/tasmota_support/support_esp.ino index 608313b1b..270260b1b 100644 --- a/tasmota/tasmota_support/support_esp.ino +++ b/tasmota/tasmota_support/support_esp.ino @@ -983,7 +983,7 @@ typedef enum { } FlashMode_t; */ String ESP_getFlashChipMode(void) { -#if ESP8266 +#if ESP8266 || CONFIG_IDF_TARGET_ESP32S2 uint32_t flash_mode = ESP.getFlashChipMode(); #else uint32_t spi_ctrl = REG_READ(SPI_CTRL_REG(0));