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

Method canHandle

src/platforms/esp/32/drivers/i2s/channel_driver_i2s.cpp.hpp:108–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106//=============================================================================
107
108bool ChannelEngineI2S::canHandle(const ChannelDataPtr& data) const FL_NOEXCEPT {
109 if (!data) {
110 return false;
111 }
112 // Clockless drivers only handle non-SPI chipsets
113 return !data->isSpi();
114}
115
116
117void ChannelEngineI2S::enqueue(ChannelDataPtr channelData) FL_NOEXCEPT {

Callers

nothing calls this directly

Calls 1

isSpiMethod · 0.45

Tested by

no test coverage detected