DanaR: reset status when CHECK_VALUE not received

This commit is contained in:
Milos Kozak 2023-08-03 15:34:52 +02:00
parent d9b69f59d1
commit 1d6a48d01d

View file

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