drawing demo cleanup

remotes/origin_old/ugfx_release_2.6
Tectu 2012-06-14 16:01:26 +02:00
parent de7fb3f756
commit 83d3135ab1
1 changed files with 0 additions and 12 deletions

View File

@ -2,16 +2,6 @@
#include "hal.h" #include "hal.h"
#include "glcd.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) { int main(void) {
halInit(); halInit();
chSysInit(); chSysInit();
@ -22,8 +12,6 @@ int main(void) {
lcdDrawCircle(150, 150, 10, filled, Green); lcdDrawCircle(150, 150, 10, filled, Green);
lcdDrawLine(0, 0, lcdGetWidth(), lcdGetHeight(), Yellow); lcdDrawLine(0, 0, lcdGetWidth(), lcdGetHeight(), Yellow);
chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
while (TRUE) { while (TRUE) {
chThdSleepMilliseconds(200); chThdSleepMilliseconds(200);