Add util.c:screen_init() to probe screen size once per boot

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-07-04 20:58:43 +02:00
1 parent 405cf4d997
commit be6f0de0df
6 files changed
+41 -13

No files matched your search

-2
View File
@@ -28,8 +28,6 @@
#include <stdio.h>
#include <lite/lite.h>
#define SCREEN_WIDTH screen_width()
#include <lite/conio.h>
#include "util.h"
static const char *cwd;