FastLED 3.10.8
Loading...
Searching...
No Matches

◆ useRmtInternalLoopback()

bool fl::validation::useRmtInternalLoopback ( bool is_rmt_driver,
int tx_pin,
int rx_pin )
inline

Whether an RMT validation capture should use ESP-IDF loopback.

ESP-IDF's internal RMT path only connects TX and RX channels configured on the same GPIO. Distinct pins require a physical jumper and must leave the RX channel attached to its external GPIO input.

Definition at line 33 of file validation.h.

34 {
35 return is_rmt_driver && tx_pin == rx_pin;
36}

References fl::FL_NO_EXCEPT.