Skip to content

Commit

Permalink
Update LSM6DSV16XSensor.cpp
Browse files Browse the repository at this point in the history
Signed-off-by: Carlo Parata <[email protected]>
  • Loading branch information
cparata authored Jul 4, 2024
1 parent 7c9320d commit 09d0ded
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/LSM6DSV16XSensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ LSM6DSV16XSensor::LSM6DSV16XSensor(TwoWire *i2c, uint8_t address) : dev_i2c(i2c)
dev_spi = NULL;
acc_is_enabled = 0L;
gyro_is_enabled = 0L;
acc_fs = LSM6DSV16X_2g;
gyro_fs = LSM6DSV16X_125dps;
}

/** Constructor
Expand All @@ -71,6 +73,8 @@ LSM6DSV16XSensor::LSM6DSV16XSensor(SPIClass *spi, int cs_pin, uint32_t spi_speed
dev_i2c = NULL;
acc_is_enabled = 0L;
gyro_is_enabled = 0L;
acc_fs = LSM6DSV16X_2g;
gyro_fs = LSM6DSV16X_125dps;
}

/**
Expand Down

0 comments on commit 09d0ded

Please sign in to comment.