mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +01:00
Xiaomi: Fix stress parsing
This commit is contained in:
parent
641eb1bee7
commit
789292d318
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user