Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Diff: LSM6DSOXSensor.cpp
- Revision:
- 2:6f62c931be0b
- Parent:
- 1:fe40aec6e97a
- Child:
- 3:d89217a05f63
--- a/LSM6DSOXSensor.cpp Thu Oct 29 12:45:14 2020 +0000 +++ b/LSM6DSOXSensor.cpp Thu Oct 29 12:49:31 2020 +0000 @@ -669,7 +669,7 @@ */ int LSM6DSOXSensor::get_x_axes_raw(int16_t *value) { - LSM6DSOX_Axis3bit16_t data_raw; + axis3bit16_t data_raw; /* Read raw data values. */ if (lsm6dsox_acceleration_raw_get(&_reg_ctx, data_raw.u8bit) != 0) @@ -693,7 +693,7 @@ */ int LSM6DSOXSensor::get_x_axes(int32_t *acceleration) { - LSM6DSOX_Axis3bit16_t data_raw; + axis3bit16_t data_raw; float sensitivity = 0.0f; /* Read raw data values. */ @@ -1100,7 +1100,7 @@ */ int LSM6DSOXSensor::get_g_axes_raw(int16_t *value) { - LSM6DSOX_Axis3bit16_t data_raw; + axis3bit16_t data_raw; /* Read raw data values. */ if (lsm6dsox_angular_rate_raw_get(&_reg_ctx, data_raw.u8bit) != 0) @@ -1124,7 +1124,7 @@ */ int LSM6DSOXSensor::get_g_axes(int32_t *angular_rate) { - LSM6DSOX_Axis3bit16_t data_raw; + axis3bit16_t data_raw; float sensitivity; /* Read raw data values. */