aboutsummaryrefslogtreecommitdiffstats
path: root/os/ex/ST/hts221.h
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2018-03-10 13:53:44 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2018-03-10 13:53:44 +0000
commitf2f3035c3c49daa3a62aa7606455da90d350190e (patch)
tree9b7bbf9b90832eb6b3f55450fc525b34566f8605 /os/ex/ST/hts221.h
parente0fcf2b6c7e1c722368934effec0e175bc7925d0 (diff)
downloadChibiOS-f2f3035c3c49daa3a62aa7606455da90d350190e.tar.gz
ChibiOS-f2f3035c3c49daa3a62aa7606455da90d350190e.tar.bz2
ChibiOS-f2f3035c3c49daa3a62aa7606455da90d350190e.zip
Improved EX drivers
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11685 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/ex/ST/hts221.h')
-rw-r--r--os/ex/ST/hts221.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/os/ex/ST/hts221.h b/os/ex/ST/hts221.h
index 2570a6ed1..893f9f314 100644
--- a/os/ex/ST/hts221.h
+++ b/os/ex/ST/hts221.h
@@ -66,23 +66,26 @@
* @brief HTS221 hygrometer subsystem characteristics.
* @note Sensitivity is expressed as %rH/LSB whereas %rH stand for percentage
* of relative humidity.
- *
+ * @note Bias is expressed as %rH.
* @{
*/
#define HTS221_HYGRO_NUMBER_OF_AXES 1U
#define HTS221_HYGRO_SENS 0.00390625f
+#define HTS221_HYGRO_BIAS 0.0f
/** @} */
/**
* @brief HTS221 thermometer subsystem characteristics.
* @note Sensitivity is expressed as °C/LSB.
+ * @note Bias is expressed as °C.
*
* @{
*/
#define HTS221_THERMO_NUMBER_OF_AXES 1U
#define HTS221_THERMO_SENS 0.0015625f
+#define HTS221_THERMO_BIAS 0.0f
/** @} */
/**