DanaR: reset status when CHECK_VALUE not received
This commit is contained in:
parent
d9b69f59d1
commit
1d6a48d01d
|
@ -171,6 +171,7 @@ public class SerialIOThread extends Thread {
|
|||
aapsLogger.error(LTag.PUMPBTCOMM, "Reply not received " + message.getMessageName());
|
||||
if (message.getCommand() == 0xF0F1) {
|
||||
danaPump.setNewPump(false);
|
||||
danaPump.reset();
|
||||
aapsLogger.debug(LTag.PUMPBTCOMM, "Old firmware detected");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue