Merge pull request #119 from LadyViktoria/AMA
fix autosens adjust BG targets
This commit is contained in:
commit
451a13295b
2 changed files with 2 additions and 1 deletions
|
@ -36,6 +36,7 @@ public class Constants {
|
|||
public static final int BOLUSSNOOZE_DIA_ADVISOR = 2;
|
||||
public static final double AUTOSENS_MAX = 1.2d;
|
||||
public static final double AUTOSENS_MIN = 0.7d;
|
||||
public static final boolean AUTOSENS_ADJUST_TARGETS = false;
|
||||
public static final double MIN_5M_CARBIMPACT = 3d;
|
||||
|
||||
// Circadian Percentage Profile
|
||||
|
|
|
@ -232,7 +232,7 @@ public class DetermineBasalAdapterAMAJS {
|
|||
mProfile.add("skip_neutral_temps", true);
|
||||
mProfile.add("current_basal", pump.getBaseBasalRate());
|
||||
mProfile.add("temptargetSet", tempTargetSet);
|
||||
mProfile.add("autosens_adjust_targets", MainApp.getConfigBuilder().isAMAModeEnabled());
|
||||
mProfile.add("autosens_adjust_targets", Constants.AUTOSENS_ADJUST_TARGETS);
|
||||
mProfile.add("min_5m_carbimpact", min_5m_carbimpact);
|
||||
mV8rt.add(PARAM_profile, mProfile);
|
||||
|
||||
|
|
Loading…
Reference in a new issue