Fixed 170th pixel dark in E1.31

This commit is contained in:
cschwinne 2020-09-17 10:40:32 +02:00
parent 26a8686a54
commit 10c22efbb5
3 changed files with 7 additions and 2 deletions

View File

@ -2,6 +2,11 @@
### Development versions after the 0.10.2 release
#### Build 2009170
- New WLED logo on Welcome screen (#1164)
- Fixed 170th pixel dark in E1.31
#### Build 2009100
- Fixed sunrise mode not reinitializing

View File

@ -137,7 +137,7 @@ void handleE131Packet(e131_packet_t* p, IPAddress clientIP, bool isArtnet){
uint16_t ledsInFirstUniverse = (MAX_CHANNELS_PER_UNIVERSE - DMXAddress) / 3;
previousLeds = ledsInFirstUniverse + (previousUniverses - 1) * MAX_LEDS_PER_UNIVERSE;
}
uint16_t ledsTotal = previousLeds + (dmxChannels - dmxOffset) / 3;
uint16_t ledsTotal = previousLeds + (dmxChannels - dmxOffset +1) / 3;
for (uint16_t i = previousLeds; i < ledsTotal; i++) {
setRealtimePixel(i, e131_data[dmxOffset++], e131_data[dmxOffset++], e131_data[dmxOffset++], 0);
}

View File

@ -8,7 +8,7 @@
*/
// version code in format yymmddb (b = daily build)
#define VERSION 2009100
#define VERSION 2009170
// ESP8266-01 (blue) got too little storage space to work with all features of WLED. To use it, you must use ESP8266 Arduino Core v2.4.2 and the setting 512K(No SPIFFS).