diff options
-rw-r--r-- | os/ex/ST/l3gd20.c | 2 | ||||
-rw-r--r-- | os/ex/ST/l3gd20.h | 4 | ||||
-rw-r--r-- | os/ex/ST/lis302dl.c | 2 | ||||
-rw-r--r-- | os/ex/ST/lis302dl.h | 4 | ||||
-rw-r--r-- | os/ex/ST/lis3dsh.c | 2 | ||||
-rw-r--r-- | os/ex/ST/lis3dsh.h | 4 | ||||
-rw-r--r-- | os/ex/ST/lis3mdl.c | 2 | ||||
-rw-r--r-- | os/ex/ST/lis3mdl.h | 4 | ||||
-rw-r--r-- | os/ex/ST/lps25h.c | 2 | ||||
-rw-r--r-- | os/ex/ST/lps25h.h | 18 | ||||
-rw-r--r-- | os/ex/ST/lsm303dlhc.c | 4 | ||||
-rw-r--r-- | os/ex/ST/lsm303dlhc.h | 4 | ||||
-rw-r--r-- | os/ex/ST/lsm6ds0.c | 8 | ||||
-rw-r--r-- | os/ex/ST/lsm6ds0.h | 4 |
14 files changed, 32 insertions, 32 deletions
diff --git a/os/ex/ST/l3gd20.c b/os/ex/ST/l3gd20.c index 6f090d32e..a6551b598 100644 --- a/os/ex/ST/l3gd20.c +++ b/os/ex/ST/l3gd20.c @@ -169,7 +169,7 @@ static msg_t sample_bias(void *ip) { return msg; } -static msg_t set_bias(void *ip, int32_t *bp) { +static msg_t set_bias(void *ip, float *bp) { uint32_t i; osalDbgCheck((ip != NULL) && (bp !=NULL)); diff --git a/os/ex/ST/l3gd20.h b/os/ex/ST/l3gd20.h index 81c356f2c..7dfce1f82 100644 --- a/os/ex/ST/l3gd20.h +++ b/os/ex/ST/l3gd20.h @@ -40,7 +40,7 @@ /**
* @brief L3GD20 driver version string.
*/
-#define EX_L3GD20_VERSION "1.0.2"
+#define EX_L3GD20_VERSION "1.0.3"
/**
* @brief L3GD20 driver version major number.
@@ -55,7 +55,7 @@ /**
* @brief L3GD20 driver version patch number.
*/
-#define EX_L3GD20_PATCH 2
+#define EX_L3GD20_PATCH 3
/** @} */
/**
diff --git a/os/ex/ST/lis302dl.c b/os/ex/ST/lis302dl.c index abce0f546..846051b17 100644 --- a/os/ex/ST/lis302dl.c +++ b/os/ex/ST/lis302dl.c @@ -140,7 +140,7 @@ static msg_t read_cooked(void *ip, float axes[]) { return msg;
}
-static msg_t set_bias(void *ip, int32_t *bp) {
+static msg_t set_bias(void *ip, float *bp) {
uint32_t i;
osalDbgCheck((ip != NULL) && (bp !=NULL));
diff --git a/os/ex/ST/lis302dl.h b/os/ex/ST/lis302dl.h index 2d8acfa93..f310a2922 100644 --- a/os/ex/ST/lis302dl.h +++ b/os/ex/ST/lis302dl.h @@ -41,7 +41,7 @@ /**
* @brief LIS302DL driver version string.
*/
-#define EX_LIS302DL_VERSION "1.0.0"
+#define EX_LIS302DL_VERSION "1.0.2"
/**
* @brief LIS302DL driver version major number.
@@ -56,7 +56,7 @@ /**
* @brief LIS302DL driver version patch number.
*/
-#define EX_LIS302DL_PATCH 0
+#define EX_LIS302DL_PATCH 2
/** @} */
/**
diff --git a/os/ex/ST/lis3dsh.c b/os/ex/ST/lis3dsh.c index 3e30ef7d0..d8c9ca68f 100644 --- a/os/ex/ST/lis3dsh.c +++ b/os/ex/ST/lis3dsh.c @@ -144,7 +144,7 @@ static msg_t read_cooked(void *ip, float axes[]) { return msg;
}
-static msg_t set_bias(void *ip, int32_t *bp) {
+static msg_t set_bias(void *ip, float *bp) {
uint32_t i;
osalDbgCheck((ip != NULL) && (bp !=NULL));
diff --git a/os/ex/ST/lis3dsh.h b/os/ex/ST/lis3dsh.h index 50b6f7c1c..79e611e53 100644 --- a/os/ex/ST/lis3dsh.h +++ b/os/ex/ST/lis3dsh.h @@ -41,7 +41,7 @@ /**
* @brief LIS3DSH driver version string.
*/
-#define EX_LIS3DSH_VERSION "1.0.0"
+#define EX_LIS3DSH_VERSION "1.0.1"
/**
* @brief LIS3DSH driver version major number.
@@ -56,7 +56,7 @@ /**
* @brief LIS3DSH driver version patch number.
*/
-#define EX_LIS3DSH_PATCH 0
+#define EX_LIS3DSH_PATCH 1
/** @} */
/**
diff --git a/os/ex/ST/lis3mdl.c b/os/ex/ST/lis3mdl.c index 760ddacde..db4281828 100644 --- a/os/ex/ST/lis3mdl.c +++ b/os/ex/ST/lis3mdl.c @@ -179,7 +179,7 @@ static msg_t read_cooked(void *ip, float axes[]) { return msg;
}
-static msg_t set_bias(void *ip, int32_t *bp) {
+static msg_t set_bias(void *ip, float *bp) {
uint32_t i;
osalDbgCheck((ip != NULL) && (bp !=NULL));
diff --git a/os/ex/ST/lis3mdl.h b/os/ex/ST/lis3mdl.h index e62cd4fc2..edef58dd1 100644 --- a/os/ex/ST/lis3mdl.h +++ b/os/ex/ST/lis3mdl.h @@ -40,7 +40,7 @@ /**
* @brief LIS3MDL driver version string.
*/
-#define EX_LIS3MDL_VERSION "1.0.1"
+#define EX_LIS3MDL_VERSION "1.0.2"
/**
* @brief LIS3MDL driver version major number.
@@ -55,7 +55,7 @@ /**
* @brief LIS3MDL driver version patch number.
*/
-#define EX_LIS3MDL_PATCH 1
+#define EX_LIS3MDL_PATCH 2
/** @} */
/**
diff --git a/os/ex/ST/lps25h.c b/os/ex/ST/lps25h.c index 28c00816c..89de543bc 100644 --- a/os/ex/ST/lps25h.c +++ b/os/ex/ST/lps25h.c @@ -152,7 +152,7 @@ static msg_t read_cooked(void *ip, float* axis) { }
-static msg_t set_bias(void *ip, int32_t *bp) {
+static msg_t set_bias(void *ip, float *bp) {
osalDbgCheck((ip != NULL) && (bp != NULL));
osalDbgAssert((((LPS25HDriver *)ip)->state == LPS25H_READY) ||
diff --git a/os/ex/ST/lps25h.h b/os/ex/ST/lps25h.h index daec3e18c..d7c7fc2ee 100644 --- a/os/ex/ST/lps25h.h +++ b/os/ex/ST/lps25h.h @@ -40,7 +40,7 @@ /**
* @brief LPS25H driver version string.
*/
-#define EX_LPS25H_VERSION "1.0.0"
+#define EX_LPS25H_VERSION "1.0.1"
/**
* @brief LPS25H driver version major number.
@@ -55,7 +55,7 @@ /**
* @brief LPS25H driver version patch number.
*/
-#define EX_LPS25H_PATCH 0
+#define EX_LPS25H_PATCH 1
/** @} */
/**
@@ -202,7 +202,7 @@ /** * @brief LPS25H I2C interface switch. * @details If set to @p TRUE the support for I2C is included. - * @note The default is @p FALSE. + * @note The default is @p TRUE. */ #if !defined(LPS25H_USE_I2C) || defined(__DOXYGEN__) #define LPS25H_USE_I2C TRUE @@ -288,9 +288,9 @@ typedef enum { */
typedef enum {
LPS25H_AVGP_8 = 0x00, /**< Number of internal average is 8. */
- LPS25H_AVGP_32 = 0x01, /**< Number of internal average is 8. */
- LPS25H_AVGP_128 = 0x02, /**< Number of internal average is 8. */
- LPS25H_AVGP_512 = 0x03, /**< Number of internal average is 8. */
+ LPS25H_AVGP_32 = 0x01, /**< Number of internal average is 32. */
+ LPS25H_AVGP_128 = 0x02, /**< Number of internal average is 128. */
+ LPS25H_AVGP_512 = 0x03, /**< Number of internal average is 512. */
}lps25h_avgp_t;
/**
@@ -298,9 +298,9 @@ typedef enum { */
typedef enum {
LPS25H_AVGT_8 = 0x00, /**< Number of internal average is 8. */
- LPS25H_AVGT_32 = 0x04, /**< Number of internal average is 8. */
- LPS25H_AVGT_128 = 0x08, /**< Number of internal average is 8. */
- LPS25H_AVGT_512 = 0x0C, /**< Number of internal average is 8. */
+ LPS25H_AVGT_32 = 0x04, /**< Number of internal average is 32. */
+ LPS25H_AVGT_128 = 0x08, /**< Number of internal average is 128. */
+ LPS25H_AVGT_512 = 0x0C, /**< Number of internal average is 512. */
}lps25h_avgt_t;
/** diff --git a/os/ex/ST/lsm303dlhc.c b/os/ex/ST/lsm303dlhc.c index f538b559c..1870d2dc3 100644 --- a/os/ex/ST/lsm303dlhc.c +++ b/os/ex/ST/lsm303dlhc.c @@ -256,7 +256,7 @@ static msg_t sens_read_cooked(void *ip, float axes[]) { return msg;
}
-static msg_t acc_set_bias(void *ip, int32_t *bp) {
+static msg_t acc_set_bias(void *ip, float *bp) {
uint32_t i;
osalDbgCheck((ip != NULL) && (bp !=NULL));
@@ -271,7 +271,7 @@ static msg_t acc_set_bias(void *ip, int32_t *bp) { return MSG_OK;
}
-static msg_t comp_set_bias(void *ip, int32_t *bp) {
+static msg_t comp_set_bias(void *ip, float *bp) {
uint32_t i;
osalDbgCheck((ip != NULL) && (bp !=NULL));
diff --git a/os/ex/ST/lsm303dlhc.h b/os/ex/ST/lsm303dlhc.h index 0fae07b50..6e4ae34dc 100644 --- a/os/ex/ST/lsm303dlhc.h +++ b/os/ex/ST/lsm303dlhc.h @@ -41,7 +41,7 @@ /**
* @brief LSM303DLHC driver version string.
*/
-#define EX_LSM303DLHC_VERSION "1.0.1"
+#define EX_LSM303DLHC_VERSION "1.0.2"
/**
* @brief LSM303DLHC driver version major number.
@@ -56,7 +56,7 @@ /**
* @brief LSM303DLHC driver version patch number.
*/
-#define EX_LSM303DLHC_PATCH 1
+#define EX_LSM303DLHC_PATCH 2
/** @} */
/**
diff --git a/os/ex/ST/lsm6ds0.c b/os/ex/ST/lsm6ds0.c index 17f02b52f..e91781152 100644 --- a/os/ex/ST/lsm6ds0.c +++ b/os/ex/ST/lsm6ds0.c @@ -140,7 +140,7 @@ static size_t sens_get_axes_number(void *ip) { return size;
}
-static msg_t acc_read_raw(void *ip, int32_t axes[]) {
+static msg_t acc_read_raw(void *ip, int32_t* axes) {
int16_t tmp;
msg_t msg = MSG_OK;
osalDbgCheck(((ip != NULL) && (axes != NULL)) &&
@@ -198,7 +198,7 @@ static msg_t acc_read_raw(void *ip, int32_t axes[]) { return MSG_OK;
}
-static msg_t gyro_read_raw(void *ip, int32_t axes[]) {
+static msg_t gyro_read_raw(void *ip, int32_t* axes) {
int16_t tmp;
msg_t msg = MSG_OK;
osalDbgCheck(((ip != NULL) && (axes != NULL)) &&
@@ -352,7 +352,7 @@ static msg_t gyro_sample_bias(void *ip) { return msg;
}
-static msg_t acc_set_bias(void *ip, int32_t *bp) {
+static msg_t acc_set_bias(void *ip, float *bp) {
uint32_t i;
osalDbgCheck((ip != NULL) && (bp !=NULL));
@@ -367,7 +367,7 @@ static msg_t acc_set_bias(void *ip, int32_t *bp) { return MSG_OK;
}
-static msg_t gyro_set_bias(void *ip, int32_t *bp) {
+static msg_t gyro_set_bias(void *ip, float *bp) {
uint32_t i;
osalDbgCheck((ip != NULL) && (bp !=NULL));
diff --git a/os/ex/ST/lsm6ds0.h b/os/ex/ST/lsm6ds0.h index 20bef3134..27d913265 100644 --- a/os/ex/ST/lsm6ds0.h +++ b/os/ex/ST/lsm6ds0.h @@ -41,7 +41,7 @@ /**
* @brief LSM6DS0 driver version string.
*/
-#define EX_LSM6DS0_VERSION "1.0.1"
+#define EX_LSM6DS0_VERSION "1.0.2"
/**
* @brief LSM6DS0 driver version major number.
@@ -56,7 +56,7 @@ /**
* @brief LSM6DS0 driver version patch number.
*/
-#define EX_LSM6DS0_PATCH 1
+#define EX_LSM6DS0_PATCH 2
/** @} */
/**
|