aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gdisp/gdisp_text/main.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-09-18 23:38:26 +1000
committerinmarket <andrewh@inmarket.com.au>2013-09-18 23:48:41 +1000
commit15a09de6592ec8548057f640eb16c452ac9fa296 (patch)
treece68474a3d361c631a2833d905b42101c269ac81 /demos/modules/gdisp/gdisp_text/main.c
parent96c4131ca1f1ff3573d393e51d51d38c3b2cc215 (diff)
downloaduGFX-15a09de6592ec8548057f640eb16c452ac9fa296.tar.gz
uGFX-15a09de6592ec8548057f640eb16c452ac9fa296.tar.bz2
uGFX-15a09de6592ec8548057f640eb16c452ac9fa296.zip
Update demos so OS can be specified in the Makefile
Diffstat (limited to 'demos/modules/gdisp/gdisp_text/main.c')
-rw-r--r--demos/modules/gdisp/gdisp_text/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/demos/modules/gdisp/gdisp_text/main.c b/demos/modules/gdisp/gdisp_text/main.c
index dee741fa..7ea3405e 100644
--- a/demos/modules/gdisp/gdisp_text/main.c
+++ b/demos/modules/gdisp/gdisp_text/main.c
@@ -30,7 +30,7 @@
#include "gfx.h"
int main(void) {
- coord_t width, height;
+ coord_t width;
font_t font1, font2, font3, font4;
const char *msg;
@@ -39,7 +39,6 @@ int main(void) {
// Get the screen size
width = gdispGetWidth();
- height = gdispGetHeight();
// Get the fonts we want to use
font1 = gdispOpenFont("UI2");