File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ IMU IMUSensor::read(){
2121
2222 // Low-G Acceleration
2323
24- // status.xlda is failing wtf
24+
2525
2626
2727 if (status.xlda ){
@@ -127,10 +127,10 @@ ErrorCode IMUSensor::init(){
127127
128128
129129 // the second parameter used to be normal instead of high-performance
130- LSM6DSV.xl_setup (LSM6DSV320X_ODR_AT_7Hz5 , LSM6DSV320X_XL_HIGH_PERFORMANCE_MD);
130+ LSM6DSV.xl_setup (LSM6DSV320X_ODR_AT_480Hz , LSM6DSV320X_XL_HIGH_PERFORMANCE_MD);
131131 LSM6DSV.gy_setup (LSM6DSV320X_ODR_AT_15Hz, LSM6DSV320X_GY_HIGH_PERFORMANCE_MD);
132132
133- LSM6DSV.hg_xl_data_rate_set (LSM6DSV320X_HG_XL_ODR_AT_960Hz , 1 );// xl_setup only handles lowg, this should also set the enable register
133+ LSM6DSV.hg_xl_data_rate_set (LSM6DSV320X_HG_XL_ODR_AT_480Hz , 1 );// xl_setup only handles lowg, this should also set the enable register
134134
135135 LSM6DSV.hg_xl_full_scale_set (LSM6DSV320X_64g);// highg scale set
136136 LSM6DSV.xl_full_scale_set (LSM6DSV320X_8g);// lowg scale set
You can’t perform that action at this time.
0 commit comments