fix read basal profile on korean pump

This commit is contained in:
Milos Kozak 2016-12-09 12:00:44 +01:00
parent a01c15f8f7
commit e9d639c979

View file

@ -25,7 +25,7 @@ public class MsgSettingBasal extends MessageBase {
for (int index = 0; index < 24; index++) { for (int index = 0; index < 24; index++) {
int basal = intFromBuff(bytes, 2 * index, 2); int basal = intFromBuff(bytes, 2 * index, 2);
if (basal < 10) basal = 0; if (basal < 10) basal = 0;
pump.pumpProfiles[pump.activeProfile][index] = basal / 100; pump.pumpProfiles[pump.activeProfile][index] = basal / 100d;
} }
if (Config.logDanaMessageDetail) if (Config.logDanaMessageDetail)