Xiaomi: Fix stress parsing

This commit is contained in:
José Rebelo 2024-02-25 00:04:03 +00:00
parent 641eb1bee7
commit 789292d318

View File

@ -112,7 +112,7 @@ public class DailyDetailsParser extends XiaomiActivityParser {
sample.setSpo2(buf.get() & 0xff);
int stress = buf.get() & 0xff;
if (stress != 0xff) {
sample.setStress(buf.get() & 0xff);
sample.setStress(stress);
}
}
}