diff --git a/src/main.c b/src/main.c index ef58918..989721c 100644 --- a/src/main.c +++ b/src/main.c @@ -6,7 +6,7 @@ #include "stmpe610.h" #include "mongoose-touch.h" -static struct screen_t *screen = NULL; +struct screen_t *screen = NULL; static long map(long x, long in_min, long in_max, long out_min, long out_max) { return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min;