| 103 | // ISR device specialization for ESP32 |
| 104 | template <> |
| 105 | fl::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 |
| 114 | template <> |