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

Method end

src/platforms/stub/spi_8_stub.cpp.hpp:48–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48void SpiHw8Stub::end() FL_NOEXCEPT {
49 mInitialized = false;
50 mBusy = false;
51 mLastBuffer.clear();
52
53 // Release current buffer
54 mCurrentBuffer.reset();
55 mBufferAcquired = false;
56}
57
58DMABuffer SpiHw8Stub::acquireDMABuffer(size_t bytes_per_lane) FL_NOEXCEPT {
59 if (!mInitialized) {

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected