Helper to extract timing from chipset variant (clockless only)
| 14 | |
| 15 | // Helper to extract timing from chipset variant (clockless only) |
| 16 | inline ChipsetTimingConfig getTimingFromChipset(const ChipsetVariant& chipset) { |
| 17 | if (const ClocklessChipset* clockless = chipset.ptr<ClocklessChipset>()) { |
| 18 | return clockless->timing; |
| 19 | } |
| 20 | return ChipsetTimingConfig(0, 0, 0, 0); // Invalid/empty timing for SPI |
| 21 | } |
| 22 | |
| 23 | } // namespace fl |
nothing calls this directly
no test coverage detected