From 7fbfde42aabbcd30cffba2fba35158236c0a6c6c Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 25 May 2013 01:26:52 +1000 Subject: GOS module, for operating system independance GMISC fast floating point trig GMISC fast fixed point trig --- demos/modules/gwin/basic/main.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'demos/modules/gwin/basic/main.c') diff --git a/demos/modules/gwin/basic/main.c b/demos/modules/gwin/basic/main.c index a0326fac..624eed18 100644 --- a/demos/modules/gwin/basic/main.c +++ b/demos/modules/gwin/basic/main.c @@ -18,20 +18,16 @@ along with this program. If not, see . */ -#include "ch.h" -#include "hal.h" #include "gfx.h" /* The handles for our two Windows */ GHandle GW1, GW2; int main(void) { - halInit(); - chSysInit(); coord_t i, j; /* Initialize and clear the display */ - gdispInit(); + gfxInit(); gdispClear(Lime); /* Create two windows */ @@ -61,7 +57,7 @@ int main(void) { gwinFillCircle(GW2, 20, 20, 15); while(TRUE) { - chThdSleepMilliseconds(500); + gfxSleepMilliseconds(500); } } -- cgit v1.2.3