Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
cparata committed Sep 22, 2023
1 parent 55c214a commit 1de6af0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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 LSM6DSV16X
version=1.6.2
version=1.6.3
author=SRA
maintainer=stm32duino
sentence=Ultra Low Power inertial measurement unit.
Expand Down
3 changes: 2 additions & 1 deletion src/LSM6DSV16XSensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1827,6 +1827,8 @@ LSM6DSV16XStatusTypeDef LSM6DSV16XSensor::Set_Tap_Shock_Time(uint8_t Time)
if (lsm6dsv16x_write_reg(&reg_ctx, LSM6DSV16X_TAP_DUR, (uint8_t *)&tap_dur, 1) != LSM6DSV16X_OK) {
return LSM6DSV16X_ERROR;
}

return LSM6DSV16X_OK;
}

/**
Expand Down Expand Up @@ -3513,7 +3515,6 @@ LSM6DSV16XStatusTypeDef LSM6DSV16XSensor::FIFO_Get_Rotation_Vector(float *rvec)
LSM6DSV16XStatusTypeDef LSM6DSV16XSensor::FIFO_Get_Gravity_Vector(float *gvec)
{
lsm6dsv16x_axis3bit16_t data_raw;
float gvec_float[3];

if (FIFO_Get_Data(data_raw.u8bit) != LSM6DSV16X_OK) {
return LSM6DSV16X_ERROR;
Expand Down

0 comments on commit 1de6af0

Please sign in to comment.