remove static ConfigBuilderPlugin.activeSensitivity
This commit is contained in:
parent
dc563df5f0
commit
f6c113550f
2 changed files with 3 additions and 3 deletions
|
@ -45,7 +45,7 @@ public class ConfigBuilderPlugin extends PluginBase {
|
|||
private ProfileInterface activeProfile;
|
||||
private APSInterface activeAPS;
|
||||
private InsulinInterface activeInsulin;
|
||||
private static SensitivityInterface activeSensitivity;
|
||||
private SensitivityInterface activeSensitivity;
|
||||
|
||||
private static ArrayList<PluginBase> pluginList;
|
||||
|
||||
|
@ -252,7 +252,7 @@ public class ConfigBuilderPlugin extends PluginBase {
|
|||
return activePump;
|
||||
}
|
||||
|
||||
public static SensitivityInterface getActiveSensitivity() {
|
||||
public SensitivityInterface getActiveSensitivity() {
|
||||
return activeSensitivity;
|
||||
}
|
||||
|
||||
|
|
|
@ -530,7 +530,7 @@ public class IobCobCalculatorPlugin extends PluginBase {
|
|||
|
||||
public AutosensResult detectSensitivityWithLock(long fromTime, long toTime) {
|
||||
synchronized (dataLock) {
|
||||
return ConfigBuilderPlugin.getActiveSensitivity().detectSensitivity(this, fromTime, toTime);
|
||||
return ConfigBuilderPlugin.getPlugin().getActiveSensitivity().detectSensitivity(this, fromTime, toTime);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue