diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-11-15 10:34:35 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-11-15 10:34:35 +0000 |
commit | 554e9da84ac99455e812d366418dc508eb51f09d (patch) | |
tree | a7bc14bb6bb21643d7e46408261b749f0ab5ea75 /demos/ARM7-LPC214x-GCC-minimal | |
parent | ae97c97b114c0e56d9881d54fbc97a052976b25a (diff) | |
download | ChibiOS-554e9da84ac99455e812d366418dc508eb51f09d.tar.gz ChibiOS-554e9da84ac99455e812d366418dc508eb51f09d.tar.bz2 ChibiOS-554e9da84ac99455e812d366418dc508eb51f09d.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@511 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-LPC214x-GCC-minimal')
-rw-r--r-- | demos/ARM7-LPC214x-GCC-minimal/main.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/demos/ARM7-LPC214x-GCC-minimal/main.c b/demos/ARM7-LPC214x-GCC-minimal/main.c index 11fdd7b56..134d74f5d 100644 --- a/demos/ARM7-LPC214x-GCC-minimal/main.c +++ b/demos/ARM7-LPC214x-GCC-minimal/main.c @@ -29,13 +29,13 @@ static msg_t Thread1(void *arg) { while (TRUE) {
IO0CLR = 0x00000800;
- chThdSleep(200);
+ chThdSleepMilliseconds(200);
IO0SET = 0x00000C00;
- chThdSleep(800);
+ chThdSleepMilliseconds(800);
IO0CLR = 0x00000400;
- chThdSleep(200);
+ chThdSleepMilliseconds(200);
IO0SET = 0x00000C00;
- chThdSleep(800);
+ chThdSleepMilliseconds(800);
}
return 0;
}
@@ -48,9 +48,9 @@ static msg_t Thread2(void *arg) { while (TRUE) {
IO0CLR = 0x80000000;
- chThdSleep(200);
+ chThdSleepMilliseconds(200);
IO0SET = 0x80000000;
- chThdSleep(300);
+ chThdSleepMilliseconds(300);
}
return 0;
}
@@ -72,6 +72,6 @@ int main(int argc, char **argv) { * sleeping in a loop.
*/
while (TRUE)
- chThdSleep(1000);
+ chThdSleepMilliseconds(1000);
return 0;
}
|