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/MSP430-MSP430x1611-GCC | |
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/MSP430-MSP430x1611-GCC')
-rw-r--r-- | demos/MSP430-MSP430x1611-GCC/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/MSP430-MSP430x1611-GCC/main.c b/demos/MSP430-MSP430x1611-GCC/main.c index 72025d6a4..911ba84d9 100644 --- a/demos/MSP430-MSP430x1611-GCC/main.c +++ b/demos/MSP430-MSP430x1611-GCC/main.c @@ -31,9 +31,9 @@ static msg_t Thread1(void *arg) { while (TRUE) {
P6OUT |= P6_O_LED;
- chThdSleep(MS2ST(500));
+ chThdSleepMilliseconds(500);
P6OUT &= ~P6_O_LED;
- chThdSleep(MS2ST(500));
+ chThdSleepMilliseconds(500);
}
return 0;
}
@@ -66,7 +66,7 @@ int main(int argc, char **argv) { while (TRUE) {
if (!(P6IN & P6_I_BUTTON))
TestThread(&COM1);
- chThdSleep(MS2ST(500));
+ chThdSleepMilliseconds(500);
}
return 0;
}
|