less hacky

This commit is contained in:
2026-06-14 12:09:45 +02:00
parent 4875fa4093
commit 2a75c9eb24
2 changed files with 13 additions and 12 deletions

View File

@@ -10,8 +10,10 @@
struct lcd_t {
int fd;
uint32_t baud;
char ccharbuf[8][11]; // 8 custom chars, each 11 bytes (3 byte command + 8 byte glyph)
char writebuf[LCD_LINES * LCD_COLS + 8]; // number of chars on the lcd + 2*4 byte set cursor commands
struct {
char cchar[8][11]; // 8 custom chars, each 11 bytes (3 byte command + 8 byte glyph)
char text[LCD_LINES * LCD_COLS + 8]; // number of chars on the lcd + 2*4 byte set cursor commands
} writebuf;
char port[96];
};