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

Method waitComplete

src/platforms/shared/spi_manager.cpp.hpp:206–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206void SPIBusManager::waitComplete(SPIBusHandle handle) FL_NOEXCEPT {
207 if (!handle.is_valid || handle.bus_id >= mNumBuses) {
208 return;
209 }
210
211 SPIBusInfo& bus = mBuses[handle.bus_id];
212 if (!bus.is_initialized) {
213 return;
214 }
215
216 // Use polymorphic interface - works for all SPI types
217 if (bus.hw_controller) {
218 bus.hw_controller->waitComplete();
219 }
220}
221
222void SPIBusManager::finalizeTransmission(SPIBusHandle handle) FL_NOEXCEPT {
223 if (!handle.is_valid || handle.bus_id >= mNumBuses) {

Callers 1

finalizeTransmissionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected