diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/pebble/DatalogSessionHealthSteps.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/pebble/DatalogSessionHealthSteps.java index 5f5af54b..4bcc6ae5 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/pebble/DatalogSessionHealthSteps.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/pebble/DatalogSessionHealthSteps.java @@ -131,7 +131,7 @@ public class DatalogSessionHealthSteps extends DatalogSessionPebbleHealth { record.getInt(); record.getShort(); record.get(); - this.heart_rate = record.get(); + this.heart_rate = record.get() & 0xff; } }