From e6a5b63bbeb36ff9d9d5f2c002395012a0d41fdf Mon Sep 17 00:00:00 2001 From: tslil clingman Date: Fri, 22 Jan 2021 13:36:32 -0500 Subject: Trying caching to speed things up --- include/lcdlib.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'include/lcdlib.c') diff --git a/include/lcdlib.c b/include/lcdlib.c index ea47062..0933b2c 100644 --- a/include/lcdlib.c +++ b/include/lcdlib.c @@ -1,15 +1,10 @@ #include "lcdlib.h" -// =================================================================== -// Globals -// =================================================================== - static char previous_lines[LCD_HEIGHT][LCD_WIDTH+1]; +static const char* esc = "\x1B[L"; static FILE *lcd = NULL; static int line_idx; -static const char* esc = "\x1B[L"; - int lcd_begin(void) { lcd = fopen("/dev/lcd", "w"); -- cgit v1.2.3