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

Method RMT>

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

Source from the content-addressed store, hash-verified

93// RMT device specialization for ESP32
94template <>
95fl::shared_ptr<RxDevice> RxDevice::create<RxDeviceType::RMT>(int pin) FL_NOEXCEPT {
96 auto device = RmtRxChannel::create(pin);
97 if (!device) {
98 return fl::make_shared<DummyRxDevice>("RMT RX channel creation failed");
99 }
100 return device;
101}
102
103// ISR device specialization for ESP32
104template <>

Callers

nothing calls this directly

Calls 1

createFunction · 0.85

Tested by

no test coverage detected