mirror of https://github.com/arendst/Tasmota.git
Final fix.
This commit is contained in:
parent
e731738385
commit
e14f014c96
|
@ -410,6 +410,7 @@ void setup(void) {
|
||||||
#endif // DISABLE_ESP32_BROWNOUT
|
#endif // DISABLE_ESP32_BROWNOUT
|
||||||
|
|
||||||
#ifndef FIRMWARE_SAFEBOOT
|
#ifndef FIRMWARE_SAFEBOOT
|
||||||
|
#ifndef CORE32SOLO1
|
||||||
// restore GPIO5/18 or 16/17 if no PSRAM is found which may be used by Ethernet among others
|
// restore GPIO5/18 or 16/17 if no PSRAM is found which may be used by Ethernet among others
|
||||||
if (!FoundPSRAM()) {
|
if (!FoundPSRAM()) {
|
||||||
// test if the CPU is not pico
|
// test if the CPU is not pico
|
||||||
|
@ -421,6 +422,7 @@ void setup(void) {
|
||||||
esp_gpio_revoke(BIT64(CONFIG_D0WD_PSRAM_CS_IO) | BIT64(CONFIG_D0WD_PSRAM_CLK_IO));
|
esp_gpio_revoke(BIT64(CONFIG_D0WD_PSRAM_CS_IO) | BIT64(CONFIG_D0WD_PSRAM_CLK_IO));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif // CORE32SOLO1
|
||||||
#endif // FIRMWARE_SAFEBOOT
|
#endif // FIRMWARE_SAFEBOOT
|
||||||
#endif // CONFIG_IDF_TARGET_ESP32
|
#endif // CONFIG_IDF_TARGET_ESP32
|
||||||
#endif // ESP32
|
#endif // ESP32
|
||||||
|
|
Loading…
Reference in New Issue