DanaR: disconnect on occlusion
This commit is contained in:
parent
9eebf60610
commit
f887043aff
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ class MsgError(
|
||||||
danaPump.bolusStopped = true
|
danaPump.bolusStopped = true
|
||||||
bolusingEvent.status = errorString
|
bolusingEvent.status = errorString
|
||||||
rxBus.send(bolusingEvent)
|
rxBus.send(bolusingEvent)
|
||||||
|
// at least on Occlusion pump stops communication. Try to force reconnecting
|
||||||
|
activePlugin.activePump.disconnect("Error from pump received")
|
||||||
failed = true
|
failed = true
|
||||||
} else {
|
} else {
|
||||||
failed = false
|
failed = false
|
||||||
|
|
Loading…
Reference in a new issue