less hacky
This commit is contained in:
@@ -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];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user