aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/lib/peripherals/sensors/hal_gyroscope.h
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-04-23 14:42:32 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-04-23 14:42:32 +0000
commitf7a345cfc638ba24581fe91cf135679d1f3f7123 (patch)
treeba2feb59c8a00381596a03a31e4f811b29d6ccdd /os/hal/lib/peripherals/sensors/hal_gyroscope.h
parent40a039e13831636ec9d61c054123879798303e16 (diff)
downloadChibiOS-f7a345cfc638ba24581fe91cf135679d1f3f7123.tar.gz
ChibiOS-f7a345cfc638ba24581fe91cf135679d1f3f7123.tar.bz2
ChibiOS-f7a345cfc638ba24581fe91cf135679d1f3f7123.zip
Added support for LSM6DS0, improved hal_accelerometer and hal_gyroscope, added a new demo
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9349 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/lib/peripherals/sensors/hal_gyroscope.h')
-rw-r--r--os/hal/lib/peripherals/sensors/hal_gyroscope.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/os/hal/lib/peripherals/sensors/hal_gyroscope.h b/os/hal/lib/peripherals/sensors/hal_gyroscope.h
index 1fb36e8d8..6e43929d4 100644
--- a/os/hal/lib/peripherals/sensors/hal_gyroscope.h
+++ b/os/hal/lib/peripherals/sensors/hal_gyroscope.h
@@ -158,7 +158,8 @@ typedef struct {
/**
* @brief Updates gyroscope bias data from received buffer.
* @note The bias buffer must have the same length of the
- * the gyroscope axes number.
+ * the gyroscope axes number. Bias must be computed on
+ * raw data and is a signed integer.
*
* @param[in] ip pointer to a @p BaseGyroscope class.
* @param[in] bp pointer to a buffer of bias values.