1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-24 17:45:50 +01:00

Xiaomi: Don't show heart rate avg/max/min duplicates of outdoor walking v2 in the UI

This commit is contained in:
Sebastian Dröge 2024-12-15 17:14:04 +02:00 committed by José Rebelo
parent 5781d5ac18
commit b31832a72e

View File

@ -498,9 +498,9 @@ public class WorkoutSummaryParser extends XiaomiActivityParser implements Activi
builder.addUnknown(7);
builder.addByte("vitality_gain", UNIT_NONE);
builder.addUnknown(16);
builder.addByte("averageHR2", UNIT_BPM);
builder.addByte("maxHR2", UNIT_BPM);
builder.addByte("minHR2", UNIT_BPM);
builder.addUnknown(1); // HR_AVG duplicate
builder.addUnknown(1); // HR_MAX duplicate
builder.addUnknown(1); // HR_MIN duplicate
builder.addUnknown(2);
builder.addByte(CADENCE_AVG, UNIT_SPM);
}