diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-06-22 08:34:55 +0000 |
---|---|---|
committer | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-06-22 08:34:55 +0000 |
commit | 03d5b66b8df079337a2fcddeb966f4fa1abce8f6 (patch) | |
tree | b44dd8bf0c878142f413aabc45abb2f1d984e82d /testhal/STM32/STM32F3xx/SPI-L3GD20/main.c | |
parent | 759c55de0fed1d66338d7836bc8ce223b2ad4f6f (diff) | |
download | ChibiOS-03d5b66b8df079337a2fcddeb966f4fa1abce8f6.tar.gz ChibiOS-03d5b66b8df079337a2fcddeb966f4fa1abce8f6.tar.bz2 ChibiOS-03d5b66b8df079337a2fcddeb966f4fa1abce8f6.zip |
Updated all L3GD20 related demos
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9648 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F3xx/SPI-L3GD20/main.c')
-rw-r--r-- | testhal/STM32/STM32F3xx/SPI-L3GD20/main.c | 2 |
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);
|