MCPcopy Create free account
hub / github.com/FastLED/FastLED / ISR>

Method ISR>

src/fl/channels/rx.cpp.hpp:105–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103// ISR device specialization for ESP32
104template <>
105fl::shared_ptr<RxDevice> RxDevice::create<RxDeviceType::ISR>(int pin) FL_NOEXCEPT {
106 auto device = GpioIsrRx::create(pin);
107 if (!device) {
108 return fl::make_shared<DummyRxDevice>("GPIO ISR RX creation failed");
109 }
110 return device;
111}
112
113// FLEXPWM not available on ESP32
114template <>

Callers

nothing calls this directly

Calls 1

createFunction · 0.85

Tested by

no test coverage detected