File tree Expand file tree Collapse file tree
ShimmerDriver/src/main/java/com/shimmerresearch/sensors/lsm6dsv Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -566,7 +566,6 @@ public void setDefaultLSM6DSVAccelSensorConfig(boolean isSensorEnabled) {
566566 }
567567 }
568568
569-
570569 //--------- LN Accel methods end --------------
571570
572571
@@ -1143,14 +1142,6 @@ else if(sensorId==mSensorIdGyro) {
11431142 }
11441143 return true ;
11451144 }
1146-
1147- if (sensorId ==mSensorIdGyro || sensorId == Configuration .Shimmer3 .SENSOR_ID .SHIMMER_LSM6DSV_ACCEL_LN ){
1148- setDefaultLSM6DSVGyroSensorConfig (isSensorEnabled );
1149- }
1150- if (sensorId ==mSensorIdAccelLN || sensorId == Configuration .Shimmer3 .SENSOR_ID .SHIMMER_LSM6DSV_GYRO ){
1151- setDefaultLSM6DSVAccelSensorConfig (isSensorEnabled );
1152- }
1153-
11541145 return false ;
11551146 }
11561147
@@ -1235,10 +1226,10 @@ public void generateCalibMap() {
12351226
12361227 @ Override
12371228 public boolean isSensorUsingDefaultCal (int sensorId ) {
1238- if (sensorId ==Configuration .Shimmer3 .SENSOR_ID .SHIMMER_LSM6DSV_ACCEL_LN || sensorId == mSensorIdAccelLN ){
1229+ if (sensorId ==Configuration .Shimmer3 .SENSOR_ID .SHIMMER_LSM6DSV_ACCEL_LN ){
12391230 return isUsingDefaultLNAccelParam ();
12401231 }
1241- if (sensorId ==Configuration .Shimmer3 .SENSOR_ID .SHIMMER_LSM6DSV_GYRO || sensorId == mSensorIdGyro ){
1232+ else if (sensorId ==Configuration .Shimmer3 .SENSOR_ID .SHIMMER_LSM6DSV_GYRO ){
12421233 return isUsingDefaultGyroParam ();
12431234 }
12441235 return false ;
You can’t perform that action at this time.
0 commit comments