diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/OpenAPSMA/DetermineBasalAdapterJS.java b/app/src/main/java/info/nightscout/androidaps/plugins/OpenAPSMA/DetermineBasalAdapterJS.java index ca62b7a197..a695e6a866 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/OpenAPSMA/DetermineBasalAdapterJS.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/OpenAPSMA/DetermineBasalAdapterJS.java @@ -111,7 +111,7 @@ public class DetermineBasalAdapterJS implements Parcelable { mProfile.add("max_basal", 0); mProfile.add("max_bg", 0); mProfile.add("min_bg", 0); - mProfile.add("carbratio", 0); + mProfile.add("carb_ratio", 0); mProfile.add("sens", 0); mProfile.add("current_basal", 0); mV8rt.add(PARAM_profile, mProfile); @@ -280,7 +280,7 @@ public class DetermineBasalAdapterJS implements Parcelable { mProfile.add("min_bg", minBg); mProfile.add("max_bg", maxBg); mProfile.add("target_bg", targetBg); - mProfile.add("carbratio", profile.getIc(profile.secondsFromMidnight())); + mProfile.add("carb_ratio", profile.getIc(profile.secondsFromMidnight())); mProfile.add("sens", NSProfile.toMgdl(profile.getIsf(NSProfile.secondsFromMidnight()).doubleValue(), units)); mProfile.add("current_basal", pump.getBaseBasalRate());