PSRAM fix & CCT IC
- prevent PSRAM use on ESP32 rev.1 without compile fix - add runtime selection for CCT IC (Athom 15W bulb)
This commit is contained in:
@@ -417,7 +417,7 @@ bool handleFileRead(AsyncWebServerRequest* request, String path){
|
||||
if(path.endsWith("/")) path += "index.htm";
|
||||
if(path.indexOf(F("sec")) > -1) return false;
|
||||
#ifdef ARDUINO_ARCH_ESP32
|
||||
if (psramFound() && path.endsWith(FPSTR(getPresetsFileName()))) {
|
||||
if (psramSafe && psramFound() && path.endsWith(FPSTR(getPresetsFileName()))) {
|
||||
size_t psize;
|
||||
const uint8_t *presets = getPresetCache(psize);
|
||||
if (presets) {
|
||||
|
||||
Reference in New Issue
Block a user