aboutsummaryrefslogtreecommitdiff
path: root/include/lcdlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'include/lcdlib.c')
-rw-r--r--include/lcdlib.c7
1 files changed, 1 insertions, 6 deletions
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");