diff options
Diffstat (limited to 'demos/MSP430-MSP430x1611-GCC/main.c')
-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 9904dfdb0..72025d6a4 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(50);
+ chThdSleep(MS2ST(500));
P6OUT &= ~P6_O_LED;
- chThdSleep(50);
+ chThdSleep(MS2ST(500));
}
return 0;
}
@@ -66,7 +66,7 @@ int main(int argc, char **argv) { while (TRUE) {
if (!(P6IN & P6_I_BUTTON))
TestThread(&COM1);
- chThdSleep(50);
+ chThdSleep(MS2ST(500));
}
return 0;
}
|