1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 12:56:49 +01:00

NO1 F1: Fixed typo.

This commit is contained in:
protomors 2017-11-02 21:21:47 +02:00 committed by cpfeiffer
parent fe438f2354
commit 343239ff9e

View File

@ -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