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

Method ok

src/platforms/shared/spi_types.cpp.hpp:52–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 FL_NOEXCEPT : mInternal(), error_code(err), is_ok(false) {}
51
52bool DMABuffer::ok() const FL_NOEXCEPT {
53 return is_ok && mInternal != nullptr;
54}
55
56fl::span<u8> DMABuffer::data() const FL_NOEXCEPT {
57 if (!ok()) {

Callers 15

decodeRmtSymbolsFunction · 0.45
acquireDMABufferMethod · 0.45
transmitMethod · 0.45
tryAllocateTxMethod · 0.45
tryAllocateRxMethod · 0.45
acquireDMABufferMethod · 0.45
acquireDMABufferMethod · 0.45
acquireDMABufferMethod · 0.45
transmitMethod · 0.45
acquireDMABufferMethod · 0.45
acquireDMABufferMethod · 0.45
acquireDMABufferMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected