| 46 | constexpr int kMaxLanes = 16; |
| 47 | |
| 48 | inline bool isFastLedOutputPinValid(int pin) { |
| 49 | if (pin < 0 || pin >= 64) { |
| 50 | return false; |
| 51 | } |
| 52 | #if defined(_FL_VALID_PIN_MASK) |
| 53 | return (_FL_VALID_PIN_MASK & (1ULL << pin)) != 0; |
| 54 | #else |
| 55 | return true; |
| 56 | #endif |
| 57 | } |
| 58 | |
| 59 | struct ValidateResult { |
| 60 | bool channels_ok; // true if all PARLIO channels created cleanly |
no outgoing calls
no test coverage detected