Fixed live preview not displaying whole light if over 255 LEDs
This commit is contained in:
parent
07d6bfa989
commit
c4512b75d9
30
CHANGELOG.md
30
CHANGELOG.md
@ -2,34 +2,38 @@
|
|||||||
|
|
||||||
### Development versions after 0.9.1 release
|
### Development versions after 0.9.1 release
|
||||||
|
|
||||||
|
#### Build 2003261
|
||||||
|
|
||||||
|
- Fixed live preview not displaying whole light if over 255 LEDs
|
||||||
|
|
||||||
#### Build 2003251
|
#### Build 2003251
|
||||||
|
|
||||||
- Added Pacifica effect (tentative, doesn't yet support other colors)
|
- Added Pacifica effect (tentative, doesn't yet support other colors)
|
||||||
- Added Atlantica palette
|
- Added Atlantica palette
|
||||||
- Fixed ESP32 build of Espalexa
|
- Fixed ESP32 build of Espalexa
|
||||||
|
|
||||||
#### Build 2003222
|
#### Build 2003222
|
||||||
|
|
||||||
- Fixed Alexa Whites on non-RGBW lights (bump Espalexa to 2.4.5)
|
- Fixed Alexa Whites on non-RGBW lights (bump Espalexa to 2.4.5)
|
||||||
|
|
||||||
#### Build 2003221
|
#### Build 2003221
|
||||||
|
|
||||||
- Moved Cronixie driver from FX library to drawOverlay handler
|
- Moved Cronixie driver from FX library to drawOverlay handler
|
||||||
|
|
||||||
#### Build 2003211
|
#### Build 2003211
|
||||||
|
|
||||||
- Added custom mapping compile define to FX_fcn.h
|
- Added custom mapping compile define to FX_fcn.h
|
||||||
- Merged pull request #784 by @TravisDean: Fixed initialization bug when toggling skip first
|
- Merged pull request #784 by @TravisDean: Fixed initialization bug when toggling skip first
|
||||||
- Added link to youtube videos by Room31 to readme
|
- Added link to youtube videos by Room31 to readme
|
||||||
|
|
||||||
#### Build 2003141
|
#### Build 2003141
|
||||||
|
|
||||||
- Fixed color of main segment returned in JSON API during transition not being target color (closes #765)
|
- Fixed color of main segment returned in JSON API during transition not being target color (closes #765)
|
||||||
- Fixed arlsLock() being called after pixels set in E1.31 (closes #772)
|
- Fixed arlsLock() being called after pixels set in E1.31 (closes #772)
|
||||||
- Fixed HTTP API calls not having an effect if no segment selected (now applies to main segment)
|
- Fixed HTTP API calls not having an effect if no segment selected (now applies to main segment)
|
||||||
|
|
||||||
#### Build 2003121
|
#### Build 2003121
|
||||||
|
|
||||||
- Created changelog.md - make tracking changes to code easier
|
- Created changelog.md - make tracking changes to code easier
|
||||||
- Merged pull request #766 by @pille: Fix E1.31 out-of sequence detection
|
- Merged pull request #766 by @pille: Fix E1.31 out-of sequence detection
|
||||||
|
|
||||||
|
@ -118,7 +118,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
//version code in format yymmddb (b = daily build)
|
//version code in format yymmddb (b = daily build)
|
||||||
#define VERSION 2003251
|
#define VERSION 2003261
|
||||||
|
|
||||||
char versionString[] = "0.9.1";
|
char versionString[] = "0.9.1";
|
||||||
|
|
||||||
|
@ -387,8 +387,8 @@ void serveJson(AsyncWebServerRequest* request)
|
|||||||
|
|
||||||
void serveLiveLeds(AsyncWebServerRequest* request)
|
void serveLiveLeds(AsyncWebServerRequest* request)
|
||||||
{
|
{
|
||||||
byte used = ledCount;
|
uint16_t used = ledCount;
|
||||||
byte n = (used -1) /MAX_LIVE_LEDS +1; //only serve every n'th LED if count over MAX_LIVE_LEDS
|
uint16_t n = (used -1) /MAX_LIVE_LEDS +1; //only serve every n'th LED if count over MAX_LIVE_LEDS
|
||||||
char buffer[2000] = "{\"leds\":[";
|
char buffer[2000] = "{\"leds\":[";
|
||||||
olen = 9;
|
olen = 9;
|
||||||
obuf = buffer;
|
obuf = buffer;
|
||||||
|
Loading…
Reference in New Issue
Block a user