From 30f16c7d3e1431766df315a58afc7484c76eff32 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Wed, 8 Nov 2017 19:13:44 +0100 Subject: [PATCH] RS fix extended bolus result --- .../PumpDanaRS/comm/DanaRS_Packet_Bolus_Set_Extended_Bolus.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/comm/DanaRS_Packet_Bolus_Set_Extended_Bolus.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/comm/DanaRS_Packet_Bolus_Set_Extended_Bolus.java index 887a9d852a..46fc6fdf39 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/comm/DanaRS_Packet_Bolus_Set_Extended_Bolus.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/comm/DanaRS_Packet_Bolus_Set_Extended_Bolus.java @@ -42,7 +42,7 @@ public class DanaRS_Packet_Bolus_Set_Extended_Bolus extends DanaRS_Packet { public void handleMessage(byte[] data) { int result = intFromBuff(data, 0, 1); if (Config.logDanaMessageDetail) { - if (result == 0) + if (result != 0) log.debug("Result OK"); else log.error("Result Error: " + result);