FastLED
3.9.15
Loading...
Searching...
No Matches
◆
findSegmentById()
const
WLEDSegment
* fl::WLED::findSegmentById
(
u8
id
)
const
Find segment by ID.
Parameters
id
Segment ID to find
Returns
Pointer to segment if found, nullptr otherwise
Definition at line
548
of file
wled.cpp.hpp
.
548
{
549
for
(
const
auto
& seg :
mSegments
) {
550
if
(seg.mId ==
id
) {
551
return
&seg;
552
}
553
}
554
return
nullptr
;
555
}
fl::WLED::mSegments
fl::vector< WLEDSegment > mSegments
Definition
wled.h:459
References
mSegments
.
fl
WLED
Generated on Tue Jun 16 2026 00:07:07 for FastLED by
1.13.2