mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-02-24 08:21:15 +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);
|
sample.setSpo2(buf.get() & 0xff);
|
||||||
int stress = buf.get() & 0xff;
|
int stress = buf.get() & 0xff;
|
||||||
if (stress != 0xff) {
|
if (stress != 0xff) {
|
||||||
sample.setStress(buf.get() & 0xff);
|
sample.setStress(stress);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user