mirror of
https://github.com/wled/WLED.git
synced 2025-04-23 22:37:18 +00:00
Missing const fix
This commit is contained in:
parent
aa2c4f8cd5
commit
7b43dbd1fe
@ -696,7 +696,7 @@ uint16_t Segment::virtualLength() const {
|
||||
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
|
||||
#ifndef WLED_DISABLE_2D
|
||||
|
Loading…
x
Reference in New Issue
Block a user