From 591a9396167c8568072890f711b876e5fc58dc8e Mon Sep 17 00:00:00 2001 From: Bart Sopers Date: Wed, 2 Sep 2020 22:49:26 +0200 Subject: [PATCH] Minor Omnipod improvement --- .../androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java b/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java index 714fc4fc49..4eb23e513b 100644 --- a/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java +++ b/omnipod/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/OmnipodPumpPlugin.java @@ -301,7 +301,7 @@ public class OmnipodPumpPlugin extends PumpPluginBase implements PumpInterface, // As per the characteristics of the Omnipod, we only know whether or not a TBR is currently active // But it doesn't tell us the duration or amount, so we can only update TBR status in AAPS if // The pod is not running a TBR, while AAPS thinks it is - if (!podStateManager.hasTempBasal()) { + if (!podStateManager.isTempBasalRunning()) { if (activePlugin.getActiveTreatments().isTempBasalInProgress() && !aapsOmnipodManager.hasSuspendedFakeTbr()) { aapsOmnipodManager.reportCancelledTbr(); }