diff options
Diffstat (limited to 'demos/STM32/RT-STM32F407-DISCOVERY-MEMS')
-rw-r--r-- | demos/STM32/RT-STM32F407-DISCOVERY-MEMS/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY-MEMS/main.c b/demos/STM32/RT-STM32F407-DISCOVERY-MEMS/main.c index 640a8fc9d..5f102f6a8 100644 --- a/demos/STM32/RT-STM32F407-DISCOVERY-MEMS/main.c +++ b/demos/STM32/RT-STM32F407-DISCOVERY-MEMS/main.c @@ -166,7 +166,7 @@ static THD_FUNCTION(Thread1, arg) { /* Reader thread loop.*/
time = chVTGetSystemTime();
- while (TRUE) {
+ while (true) {
int32_t x, y;
unsigned i;
@@ -306,7 +306,7 @@ int main(void) { * Normal main() thread activity, in this demo it just performs
* a shell respawn upon its termination.
*/
- while (TRUE) {
+ while (true) {
if (!shelltp) {
if (SDU1.config->usbp->state == USB_ACTIVE) {
/* Spawns a new shell.*/
|