aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F3xx
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-06-22 08:34:55 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-06-22 08:34:55 +0000
commit03d5b66b8df079337a2fcddeb966f4fa1abce8f6 (patch)
treeb44dd8bf0c878142f413aabc45abb2f1d984e82d /testhal/STM32/STM32F3xx
parent759c55de0fed1d66338d7836bc8ce223b2ad4f6f (diff)
downloadChibiOS-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')
-rw-r--r--testhal/STM32/STM32F3xx/SPI-L3GD20/main.c2
-rw-r--r--testhal/STM32/STM32F3xx/SPI-L3GD20/readme.txt4
2 files changed, 3 insertions, 3 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);
diff --git a/testhal/STM32/STM32F3xx/SPI-L3GD20/readme.txt b/testhal/STM32/STM32F3xx/SPI-L3GD20/readme.txt
index 39d8d97f6..f84f6001a 100644
--- a/testhal/STM32/STM32F3xx/SPI-L3GD20/readme.txt
+++ b/testhal/STM32/STM32F3xx/SPI-L3GD20/readme.txt
@@ -8,8 +8,8 @@ The demo runs on an STM32F3 Discovery board.
** The Demo **
-The demo flashes the board LED using a thread, read data from L3GD20 printing
-it on a BaseSequentialStream (SDU1, mapped on USB virtual COM port).
+The demo uses the ChibiOS Shell in order to test L3GD20 APIs.
+Shell is used on the SDU1 BaseSequentialStream.
** Build Procedure **