diff --git a/readme.md b/readme.md index 71bd8fe8..c8b4cc64 100644 --- a/readme.md +++ b/readme.md @@ -3,8 +3,6 @@ WLED is a fast and (relatively) secure implementation of an ESP8266 webserver to control NeoPixel (WS2812B) LEDs! Now also with experimental ESP32 support. -Uses ESP Arduino core version 2.3.0 (latest as of December 2017). - ### Features: (V0.5dev) - RGB, HSB, and brightness sliders - Settings page - configuration over network @@ -25,12 +23,6 @@ Uses ESP Arduino core version 2.3.0 (latest as of December 2017). - Realtime UDP Packet Control (WARLS) possible - Client HTML UI controlled -### Compile settings: -- Board: WeMos D1 mini (untested with other HW, should work though) -- CPU frequency: 80 MHz -- Flash size : 4MB (3MB SPIFFS) -- Upload speed: 921600 - ### Quick start guide and documentation: See the [wiki](https://github.com/Aircoookie/WLED/wiki)! diff --git a/wled00/wled01_eeprom.ino b/wled00/wled01_eeprom.ino index 92d31be7..26a673ff 100644 --- a/wled00/wled01_eeprom.ino +++ b/wled00/wled01_eeprom.ino @@ -173,7 +173,7 @@ void loadSettingsFromEEPROM(bool first) if (apchannel > 13 || apchannel < 1) apchannel = 1; aphide = EEPROM.read(228); if (aphide > 1) aphide = 1; - ledcount = EEPROM.read(229); + ledcount = EEPROM.read(229); if (ledcount > LEDCOUNT) ledcount = LEDCOUNT; notifyButton = EEPROM.read(230); //231 was notifyNightlight buttonEnabled = EEPROM.read(232); diff --git a/wled00/wled03_set.ino b/wled00/wled03_set.ino index bda94f30..eb4b6692 100644 --- a/wled00/wled03_set.ino +++ b/wled00/wled03_set.ino @@ -119,7 +119,7 @@ void handleSettingsSet() if (server.hasArg("LEDCN")) { int i = server.arg("LEDCN").toInt(); - if (i >= 0 && i <= 255) ledcount = i; + if (i >= 0 && i <= LEDCOUNT) ledcount = i; strip.setLedCount(ledcount); } if (server.hasArg("CBEOR"))