aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);