Skip to content

Commit

Permalink
Missing const fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blazoncek committed Jan 9, 2025
1 parent aa2c4f8 commit 7b43dbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wled00/FX_fcn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7b43dbd

Please sign in to comment.