Skip to content

Commit ed3ec66

Browse files
softhack007DedeHai
authored andcommitted
fix compile error
"const" was missing in the function implementation
1 parent 01c463c commit ed3ec66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wled00/FX_fcn.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ uint16_t Segment::virtualLength() const {
696696
return vLength;
697697
}
698698

699-
void IRAM_ATTR_YN Segment::setPixelColor(int i, uint32_t col)
699+
void IRAM_ATTR_YN Segment::setPixelColor(int i, uint32_t col) const
700700
{
701701
if (!isActive() || i < 0) return; // not active or invalid index
702702
#ifndef WLED_DISABLE_2D

0 commit comments

Comments
 (0)