mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 21:06:50 +01:00
NO1 F1: Fixed typo.
This commit is contained in:
parent
fe438f2354
commit
343239ff9e
@ -598,7 +598,7 @@ public class No1F1Support extends AbstractBTLEDeviceSupport {
|
||||
if (data[0] == No1F1Constants.CMD_FETCH_STEPS) {
|
||||
samples.get(i).setRawKind(ActivityKind.TYPE_ACTIVITY);
|
||||
samples.get(i).setRawIntensity(samples.get(i).getSteps());
|
||||
} else if (data[0] == No1F1Constants.CMD_FETCH_STEPS) {
|
||||
} else if (data[0] == No1F1Constants.CMD_FETCH_SLEEP) {
|
||||
if (samples.get(i).getRawIntensity() < 7)
|
||||
samples.get(i).setRawKind(ActivityKind.TYPE_DEEP_SLEEP);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user