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:
Blaz Kristan
2024-03-28 16:03:06 +01:00
parent fd149b3f46
commit 5f37c19d42
12 changed files with 51 additions and 34 deletions

1
wled00/set.cpp Executable file → Normal file
View File

@@ -123,6 +123,7 @@ void handleSettingsSet(AsyncWebServerRequest *request, byte subPage)
autoSegments = request->hasArg(F("MS"));
correctWB = request->hasArg(F("CCT"));
cctFromRgb = request->hasArg(F("CR"));
cctICused = request->hasArg(F("IC"));
strip.cctBlending = request->arg(F("CB")).toInt();
Bus::setCCTBlend(strip.cctBlending);
Bus::setGlobalAWMode(request->arg(F("AW")).toInt());