aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-06-14 16:01:26 +0200
committerTectu <joel@unormal.org>2012-06-14 16:01:26 +0200
commit83d3135ab1683c29edc6e76ad34ff61d9df69572 (patch)
treee8114cf4d2936a57586c25f375adeb5e16997b9d
parentde7fb3f75695bf22825e93d94e62f38d9b86d4bf (diff)
downloaduGFX-83d3135ab1683c29edc6e76ad34ff61d9df69572.tar.gz
uGFX-83d3135ab1683c29edc6e76ad34ff61d9df69572.tar.bz2
uGFX-83d3135ab1683c29edc6e76ad34ff61d9df69572.zip
drawing demo cleanup
-rwxr-xr-xdemos/drawing/main.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/demos/drawing/main.c b/demos/drawing/main.c
index d38166fe..0b77f43e 100755
--- a/demos/drawing/main.c
+++ b/demos/drawing/main.c
@@ -2,16 +2,6 @@
#include "hal.h"
#include "glcd.h"
-static WORKING_AREA(waThread1, 128);
-static void Thread1(void *arg) {
- (void)arg;
-
- while (TRUE) {
- palTogglePad(GPIOD, GPIOD_LED1);
- chThdSleepMilliseconds(500);
- }
-}
-
int main(void) {
halInit();
chSysInit();
@@ -22,8 +12,6 @@ int main(void) {
lcdDrawCircle(150, 150, 10, filled, Green);
lcdDrawLine(0, 0, lcdGetWidth(), lcdGetHeight(), Yellow);
- chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
-
while (TRUE) {
chThdSleepMilliseconds(200);