Add PumpDescription in OmnipodDashPumpPlugin

This commit is contained in:
Bart Sopers 2021-02-20 03:43:04 +01:00
parent c2c9f391dd
commit 9d2fadf00d

View file

@ -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) {