RS fix extended bolus result
This commit is contained in:
parent
0af51bb6ea
commit
30f16c7d3e
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ public class DanaRS_Packet_Bolus_Set_Extended_Bolus extends DanaRS_Packet {
|
||||||
public void handleMessage(byte[] data) {
|
public void handleMessage(byte[] data) {
|
||||||
int result = intFromBuff(data, 0, 1);
|
int result = intFromBuff(data, 0, 1);
|
||||||
if (Config.logDanaMessageDetail) {
|
if (Config.logDanaMessageDetail) {
|
||||||
if (result == 0)
|
if (result != 0)
|
||||||
log.debug("Result OK");
|
log.debug("Result OK");
|
||||||
else
|
else
|
||||||
log.error("Result Error: " + result);
|
log.error("Result Error: " + result);
|
||||||
|
|
Loading…
Reference in a new issue