diff options
Diffstat (limited to 'demos/ARMCM3-STM32F103-FATFS/main.c')
-rw-r--r-- | demos/ARMCM3-STM32F103-FATFS/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/ARMCM3-STM32F103-FATFS/main.c b/demos/ARMCM3-STM32F103-FATFS/main.c index 57fc5d2b3..ce5026a95 100644 --- a/demos/ARMCM3-STM32F103-FATFS/main.c +++ b/demos/ARMCM3-STM32F103-FATFS/main.c @@ -382,7 +382,7 @@ int main(void) { chThdRelease(shelltp); /* Recovers memory of the previous shell. */
shelltp = NULL; /* Triggers spawning of a new shell. */
}
- chEvtDispatch(evhndl, chEvtWaitOne(ALL_EVENTS));
+ chEvtDispatch(evhndl, chEvtWaitOneTimeout(ALL_EVENTS, MS2ST(500)));
}
return 0;
}
|