diff options
Diffstat (limited to 'demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c')
-rw-r--r-- | demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c b/demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c index 94039ddb2..256c6d763 100644 --- a/demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c +++ b/demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c @@ -27,7 +27,7 @@ static THD_FUNCTION(Thread1, arg) { (void)arg;
chRegSetThreadName("blinker");
- while (TRUE) {
+ while (true) {
palClearPad(GPIOC, GPIOC_LED1);
chThdSleepMilliseconds(250);
palSetPad(GPIOC, GPIOC_LED1);
@@ -74,7 +74,7 @@ int main(void) { * sleeping in a loop and check the button state, when the button is
* pressed the test procedure is launched.
*/
- while (TRUE) {
+ while (true) {
if (palReadPad(GPIOA, GPIOA_WKUP_BUTTON))
TestThread(&SD2);
chThdSleepMilliseconds(500);
|