You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
follow-up: document empty Channel::name() when logging is compiled out from #2943 #3948
Document empty ch.name() in release builds when FASTLED_LOG_RUNTIME_ENABLED is off. Channel::makeName() returns {} in that build mode, but the Channels event-listener example prints ch.name().c_str() without warning it may be empty; update the docs and recommend setting ChannelConfig::mName when stable names are needed.
Why this matters
Channel::name() is public and event callbacks expose it. On current master, an unnamed ChannelConfig produces an empty name whenever runtime logging is compiled out. Users may otherwise treat the auto-generated Channel_<id> value as stable across debug and release builds.
RED -> GREEN acceptance criteria
RED evidence: Channel::makeName() returns {} under !FASTLED_LOG_RUNTIME_ENABLED, while src/fl/channels/README.md does not document that build-dependent behavior.
GREEN: document the Channel::makeName() / Channel::name() contract in src/fl/channels/README.md, explicitly naming FASTLED_LOG_RUNTIME_ENABLED and ChannelConfig::mName.
GREEN: update the event-listener example or adjacent prose to show that callers needing a stable name must supply ChannelConfig::mName; keep the existing explicitly named example valid.
Verify the documentation renders cleanly and repository documentation lint passes.
Activity
docs(channels): clarify release channel names (#3949)