aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F3xx/SPI-L3GD20/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/STM32F3xx/SPI-L3GD20/main.c')
-rw-r--r--testhal/STM32/STM32F3xx/SPI-L3GD20/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testhal/STM32/STM32F3xx/SPI-L3GD20/main.c b/testhal/STM32/STM32F3xx/SPI-L3GD20/main.c
index b37a16d5a..beb2b6927 100644
--- a/testhal/STM32/STM32F3xx/SPI-L3GD20/main.c
+++ b/testhal/STM32/STM32F3xx/SPI-L3GD20/main.c
@@ -186,7 +186,7 @@ static void cmd_bias(BaseSequentialStream *chp, int argc, char *argv[]) {
#endif
chprintf(chp, "Please don't move the device while Green LEDs are on!\r\n");
chprintf(chp, "Press a key to start...\r\n");
- while (chnGetTimeout((BaseChannel *)chp, TIME_IMMEDIATE) == Q_TIMEOUT)
+ while (chnGetTimeout((BaseChannel *)chp, 500) == Q_TIMEOUT)
;
palSetLine(LINE_LED6_GREEN);
palSetLine(LINE_LED7_GREEN);