Skip to content

Commit

Permalink
Merge pull request #18 from RestucciaMichele/patch-1
Browse files Browse the repository at this point in the history
Update LSM6DSV16XSensor.cpp
  • Loading branch information
cparata authored Nov 4, 2024
2 parents 95bd249 + 3888d9a commit 659baef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LSM6DSV16XSensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3619,7 +3619,7 @@ LSM6DSV16XStatusTypeDef LSM6DSV16XSensor::Test_G_IMU(uint8_t TestType = LSM6DSV1
return LSM6DSV16X_ERROR;
}

if (lsm6dsv16x_xl_data_rate_set(&reg_ctx, LSM6DSV16X_ODR_OFF) != LSM6DSV16X_OK) {
if (lsm6dsv16x_gy_data_rate_set(&reg_ctx, LSM6DSV16X_ODR_OFF) != LSM6DSV16X_OK) {
return LSM6DSV16X_ERROR;
}
return LSM6DSV16X_OK;
Expand Down

0 comments on commit 659baef

Please sign in to comment.