From 343239ff9e15abb214c15a5cc447b167ed2f3144 Mon Sep 17 00:00:00 2001 From: protomors Date: Thu, 2 Nov 2017 21:21:47 +0200 Subject: [PATCH] NO1 F1: Fixed typo. --- .../gadgetbridge/service/devices/no1f1/No1F1Support.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/no1f1/No1F1Support.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/no1f1/No1F1Support.java index d09a2a3cd..396efde03 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/no1f1/No1F1Support.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/no1f1/No1F1Support.java @@ -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