mirror of https://github.com/arendst/Tasmota.git
Fix C2 compile error
This commit is contained in:
parent
4e7e256892
commit
2f32e3c2ee
|
@ -587,7 +587,7 @@ extern "C" {
|
|||
// `psramFound()` can return true even if no PSRAM is actually installed
|
||||
// This new version also checks `esp_spiram_is_initialized` to know if the PSRAM is initialized
|
||||
bool FoundPSRAM(void) {
|
||||
#if CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32C6
|
||||
#if CONFIG_IDF_TARGET_ESP32C2 || CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32C6
|
||||
return psramFound();
|
||||
#else
|
||||
#if ESP_IDF_VERSION_MAJOR >= 5
|
||||
|
@ -1053,4 +1053,4 @@ void GpioForceHoldRelay(void) {
|
|||
|
||||
/********************************************************************************************/
|
||||
|
||||
#endif // ESP32
|
||||
#endif // ESP32
|
||||
|
|
Loading…
Reference in New Issue