mirror of
https://github.com/wled/WLED.git
synced 2025-07-16 23:36:35 +00:00
fix compile error
"const" was missing in the function implementation
This commit is contained in:
parent
01c463c8e8
commit
ed3ec66d33
@ -696,7 +696,7 @@ uint16_t Segment::virtualLength() const {
|
|||||||
return vLength;
|
return vLength;
|
||||||
}
|
}
|
||||||
|
|
||||||
void IRAM_ATTR_YN Segment::setPixelColor(int i, uint32_t col)
|
void IRAM_ATTR_YN Segment::setPixelColor(int i, uint32_t col) const
|
||||||
{
|
{
|
||||||
if (!isActive() || i < 0) return; // not active or invalid index
|
if (!isActive() || i < 0) return; // not active or invalid index
|
||||||
#ifndef WLED_DISABLE_2D
|
#ifndef WLED_DISABLE_2D
|
||||||
|
Loading…
x
Reference in New Issue
Block a user