aboutsummaryrefslogtreecommitdiffstats
path: root/demos/MSP430-MSP430x1611-GCC
diff options
context:
space:
mode:
Diffstat (limited to 'demos/MSP430-MSP430x1611-GCC')
-rw-r--r--demos/MSP430-MSP430x1611-GCC/main.c6
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;
}