MCPcopy Create free account
hub / github.com/FastLED/FastLED / nextId

Method nextId

src/fl/channels/rx/channel.cpp.hpp:44–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42} // namespace
43
44i32 RxChannel::nextId() FL_NOEXCEPT {
45 static fl::atomic<i32> gNextRxChannelId(0);
46 return gNextRxChannelId.fetch_add(1);
47}
48
49fl::string RxChannel::makeName(i32 id, const fl::string& config_name) FL_NOEXCEPT {
50 if (!config_name.empty()) {

Callers

nothing calls this directly

Calls 1

fetch_addMethod · 0.45

Tested by

no test coverage detected