Allow screen to be seen by other files (needed by widget_name.c)
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user