From f2f3035c3c49daa3a62aa7606455da90d350190e Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Sat, 10 Mar 2018 13:53:44 +0000 Subject: Improved EX drivers git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11685 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/ex/ST/hts221.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'os/ex/ST/hts221.h') 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 /** @} */ /** -- cgit v1.2.3