| 684 | } |
| 685 | |
| 686 | static inline void panel_write_pixel(uint8_t (*pixel)[3], uint32_t bgr666) { |
| 687 | assert(bgr666 <= 0x3FFFF); |
| 688 | (*pixel)[PANEL_RAM_RED] = bgr666 & 0x3F; |
| 689 | (*pixel)[PANEL_RAM_GREEN] = bgr666 >> 6 & 0x3F; |
| 690 | (*pixel)[PANEL_RAM_BLUE] = bgr666 >> 12; |
| 691 | } |
| 692 | |
| 693 | static void panel_write_pixel_row_oob(panel_mem_ptr_t* memPtr, uint32_t bgr666); |
| 694 |
no outgoing calls
no test coverage detected