Skip to content

Commit

Permalink
Fix typo and add timestamp tag management
Browse files Browse the repository at this point in the history
  • Loading branch information
cparata committed Apr 18, 2023
1 parent e7bfff1 commit c37de5a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=STM32duino LSM6DSO
version=2.0.4
version=2.0.5
author=SRA
maintainer=stm32duino
sentence=Ultra Low Power inertial measurement unit.
Expand Down
7 changes: 5 additions & 2 deletions src/lsm6dso_reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -5886,6 +5886,9 @@ int32_t lsm6dso_fifo_sensor_tag_get(lsm6dso_ctx_t *ctx,
case LSM6DSO_TEMPERATURE_TAG:
*val = LSM6DSO_TEMPERATURE_TAG;
break;
case LSM6DSO_TIMESTAMP_TAG:
*val = LSM6DSO_TIMESTAMP_TAG;
break;
case LSM6DSO_CFG_CHANGE_TAG:
*val = LSM6DSO_CFG_CHANGE_TAG;
break;
Expand Down Expand Up @@ -5925,8 +5928,8 @@ int32_t lsm6dso_fifo_sensor_tag_get(lsm6dso_ctx_t *ctx,
case LSM6DSO_SENSORHUB_SLAVE3_TAG:
*val = LSM6DSO_SENSORHUB_SLAVE3_TAG;
break;
case LSM6DSO_STEP_CPUNTER_TAG:
*val = LSM6DSO_STEP_CPUNTER_TAG;
case LSM6DSO_STEP_COUNTER_TAG:
*val = LSM6DSO_STEP_COUNTER_TAG;
break;
case LSM6DSO_GAME_ROTATION_TAG:
*val = LSM6DSO_GAME_ROTATION_TAG;
Expand Down
2 changes: 1 addition & 1 deletion src/lsm6dso_reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -2323,7 +2323,7 @@ typedef enum {
LSM6DSO_SENSORHUB_SLAVE1_TAG,
LSM6DSO_SENSORHUB_SLAVE2_TAG,
LSM6DSO_SENSORHUB_SLAVE3_TAG,
LSM6DSO_STEP_CPUNTER_TAG,
LSM6DSO_STEP_COUNTER_TAG,
LSM6DSO_GAME_ROTATION_TAG,
LSM6DSO_GEOMAG_ROTATION_TAG,
LSM6DSO_ROTATION_TAG,
Expand Down

0 comments on commit c37de5a

Please sign in to comment.