From 9d2fadf00dbf0ecbe42a343c0b266784f95991fa Mon Sep 17 00:00:00 2001 From: Bart Sopers Date: Sat, 20 Feb 2021 03:43:04 +0100 Subject: [PATCH] Add PumpDescription in OmnipodDashPumpPlugin --- .../plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.java b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.java index 3770ad2dd1..b2856ce5f8 100644 --- a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.java +++ b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.java @@ -33,6 +33,8 @@ import info.nightscout.androidaps.utils.resources.ResourceHelper; @Singleton public class OmnipodDashPumpPlugin extends PumpPluginBase implements PumpInterface { + private static final PumpDescription PUMP_DESCRIPTION = new PumpDescription(PumpType.Omnipod_Dash); + private final AAPSLogger aapsLogger; private final ResourceHelper resourceHelper; private final CommandQueueProvider commandQueue; @@ -165,7 +167,7 @@ public class OmnipodDashPumpPlugin extends PumpPluginBase implements PumpInterfa } @Override public PumpDescription getPumpDescription() { - return getPumpDescription(); + return PUMP_DESCRIPTION; } @Override public String shortStatus(boolean veryShort) {