From e9d639c9797b1f5bdefb983dee3d4b6eb5245a67 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Fri, 9 Dec 2016 12:00:44 +0100 Subject: [PATCH] fix read basal profile on korean pump --- .../androidaps/plugins/DanaRKorean/comm/MsgSettingBasal.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/DanaRKorean/comm/MsgSettingBasal.java b/app/src/main/java/info/nightscout/androidaps/plugins/DanaRKorean/comm/MsgSettingBasal.java index 986bbda55a..e6ac4b9003 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/DanaRKorean/comm/MsgSettingBasal.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/DanaRKorean/comm/MsgSettingBasal.java @@ -25,7 +25,7 @@ public class MsgSettingBasal extends MessageBase { for (int index = 0; index < 24; index++) { int basal = intFromBuff(bytes, 2 * index, 2); if (basal < 10) basal = 0; - pump.pumpProfiles[pump.activeProfile][index] = basal / 100; + pump.pumpProfiles[pump.activeProfile][index] = basal / 100d; } if (Config.logDanaMessageDetail)