From 94b8b1f9e24dee7f078685b8bb423b4dbe17f147 Mon Sep 17 00:00:00 2001 From: Andrei Vereha Date: Wed, 29 Dec 2021 16:37:25 +0100 Subject: [PATCH] connect after priming --- .../plugins/pump/omnipod/dash/driver/OmnipodDashManagerImpl.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/OmnipodDashManagerImpl.kt b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/OmnipodDashManagerImpl.kt index 6d08106a88..ea24768ea1 100644 --- a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/OmnipodDashManagerImpl.kt +++ b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/OmnipodDashManagerImpl.kt @@ -377,6 +377,7 @@ class OmnipodDashManagerImpl @Inject constructor( ) } if (podStateManager.activationProgress.isBefore(ActivationProgress.INSERTING_CANNULA)) { + observables.add(observeConnectToPod) // connection can time out while waiting observables.add( Observable.defer { Observable.timer(podStateManager.secondPrimeBolusVolume!!.toLong(), TimeUnit.SECONDS)