RS fix extended bolus result

This commit is contained in:
Milos Kozak 2017-11-08 19:13:44 +01:00
parent 0af51bb6ea
commit 30f16c7d3e

View file

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