#ifndef __LCD_H__ #define __LCD_H__ void lcd_init(void); void lcd_write_dma(const char **buf); #ifndef LCD_PEX_ADDR #define LCD_PEX_ADDR 0x4E #endif struct lcd_state { uint8_t buf[512]; uint32_t cr2_buf; bool led; bool has_lcd; ErrorCode error; }; extern struct lcd_state st_lcd; #endif /* __LCD_H__ */