Skip to content

Commit 594a010

Browse files
committed
Merge branch 'master' into DEV-85
2 parents f353abe + 6bd800a commit 594a010

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ShimmerDriver/src/main/java/com/shimmerresearch/driver/Configuration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ public class GuiLabelSensors{
982982

983983
// public static final String ACCEL_WR = SensorLSM303.GuiLabelSensors.ACCEL_WR;
984984
public static final String MAG = SensorLSM303DLHC.GuiLabelSensors.MAG;
985-
public static final String WR_MAG_3R = SensorLIS3MDL.GuiLabelSensors.MAG_ALT;
985+
public static final String ALT_MAG_3R = SensorLIS3MDL.GuiLabelSensors.MAG_ALT;
986986

987987
// public static final String PRESS_TEMP_BMP180 = SensorBMP180.GuiLabelSensors.PRESS_TEMP_BMP180;
988988

ShimmerDriver/src/main/java/com/shimmerresearch/sensors/lisxmdl/SensorLIS2MDL.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -472,11 +472,11 @@ public int getMagRateFromFreqForSensor(boolean isEnabled, double freq, int power
472472
{
473473
magRate = 0; // 10Hz
474474
} else {
475-
if (freq<10.0){
475+
if (freq <= 10.0){
476476
magRate = 0; // 10Hz
477-
} else if (freq<20.0){
477+
} else if (freq <= 20.0){
478478
magRate = 1; // 20Hz
479-
} else if (freq<50.0) {
479+
} else if (freq <= 50.0) {
480480
magRate = 2; // 50Hz
481481
} else {
482482
magRate = 3; // 100Hz

0 commit comments

Comments
 (0)