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

Method push

src/fl/log/async_log_queue.cpp.hpp:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35template <fl::size DescriptorCount, fl::size ArenaSize>
36bool AsyncLogQueue<DescriptorCount, ArenaSize>::push(const fl::string& msg) {
37 fl::size len = msg.length();
38 if (len > MAX_MESSAGE_LENGTH) {
39 len = MAX_MESSAGE_LENGTH;
40 }
41 return push(msg.c_str(), static_cast<fl::u16>(len));
42}
43
44template <fl::size DescriptorCount, fl::size ArenaSize>
45bool AsyncLogQueue<DescriptorCount, ArenaSize>::push(const char* str) {

Callers

nothing calls this directly

Calls 2

lengthMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected