| 631 | } |
| 632 | |
| 633 | static void panel_event(enum sched_item_id id) { |
| 634 | /* Ensure all pixels were scanned */ |
| 635 | panel_scan_until(0); |
| 636 | |
| 637 | /* If the new display mode is MCU, start the next frame now */ |
| 638 | if (panel_next_dm_is_mcu()) { |
| 639 | sched_repeat(id, panel_start_frame()); |
| 640 | } |
| 641 | } |
| 642 | |
| 643 | static void panel_spi_catchup(void) { |
| 644 | if (sched_active(SCHED_PANEL)) { |
nothing calls this directly
no test coverage detected