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

Xiaomi: Change recoveryValue to TRAINING_EFFECT_AEROBIC in outdoor walking v2 parser

That's how this value is treated elsewhere.
This commit is contained in:
Sebastian Dröge 2024-12-15 13:56:10 +02:00 committed by José Rebelo
parent eb97208ca1
commit 0cdc0777c0

View File

@ -479,7 +479,7 @@ public class WorkoutSummaryParser extends XiaomiActivityParser implements Activi
builder.addByte(HR_MAX, UNIT_BPM);
builder.addByte(HR_MIN, UNIT_BPM);
builder.addUnknown(20);
builder.addFloat("recoveryValue", "?");
builder.addFloat(TRAINING_EFFECT_AEROBIC, UNIT_NONE);
builder.addUnknown(9);
builder.addByte(RECOVERY_TIME, UNIT_HOURS);
builder.addUnknown(2);