kopia lustrzana https://github.com/Aircoookie/WLED
Bugfix for 1 pixel segment capabilities.
rodzic
92d883db87
commit
7a2f556682
|
@ -762,6 +762,7 @@ void Segment::refreshLightCapabilities() {
|
|||
if (segStartIdx > index) segStartIdx = index;
|
||||
if (segStopIdx < index) segStopIdx = index;
|
||||
}
|
||||
if (segStartIdx == segStopIdx) segStopIdx++; // we only have 1 pixel segment
|
||||
}
|
||||
} else {
|
||||
// we are on the strip located after the matrix
|
||||
|
|
Ładowanie…
Reference in New Issue