aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-20 10:46:22 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-20 10:46:22 +0000
commit0d717a5f9fe78ad4857677baf9d0000c2304a6ca (patch)
treee016e4b24b168facd16f4ab6bdeb441439c48fbe /demos
parent66c3169f4f74a769bd7f7cf8b8a5cdc0342bdc17 (diff)
downloadChibiOS-0d717a5f9fe78ad4857677baf9d0000c2304a6ca.tar.gz
ChibiOS-0d717a5f9fe78ad4857677baf9d0000c2304a6ca.tar.bz2
ChibiOS-0d717a5f9fe78ad4857677baf9d0000c2304a6ca.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2391 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/ARM7-AT91SAM7X-LWIP-GCC/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/ARM7-AT91SAM7X-LWIP-GCC/main.c b/demos/ARM7-AT91SAM7X-LWIP-GCC/main.c
index 4d90741c1..907f0d8ee 100644
--- a/demos/ARM7-AT91SAM7X-LWIP-GCC/main.c
+++ b/demos/ARM7-AT91SAM7X-LWIP-GCC/main.c
@@ -25,14 +25,14 @@
#include "web/web.h"
static WORKING_AREA(waThread1, 64);
-static msg_t Thread1(void *arg) {
+static msg_t Thread1(void *p) {
- (void)arg;
+ (void)p;
while (TRUE) {
- palClearPad(IOPORT2, PIOB_LCD_BL);
- chThdSleepMilliseconds(900);
palSetPad(IOPORT2, PIOB_LCD_BL);
chThdSleepMilliseconds(100);
+ palClearPad(IOPORT2, PIOB_LCD_BL);
+ chThdSleepMilliseconds(900);
}
return 0;
}