diff options
author | Tectu <joel@unormal.org> | 2012-06-14 16:01:26 +0200 |
---|---|---|
committer | Tectu <joel@unormal.org> | 2012-06-14 16:01:26 +0200 |
commit | 83d3135ab1683c29edc6e76ad34ff61d9df69572 (patch) | |
tree | e8114cf4d2936a57586c25f375adeb5e16997b9d | |
parent | de7fb3f75695bf22825e93d94e62f38d9b86d4bf (diff) | |
download | uGFX-83d3135ab1683c29edc6e76ad34ff61d9df69572.tar.gz uGFX-83d3135ab1683c29edc6e76ad34ff61d9df69572.tar.bz2 uGFX-83d3135ab1683c29edc6e76ad34ff61d9df69572.zip |
drawing demo cleanup
-rwxr-xr-x | demos/drawing/main.c | 12 |
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);
|