Merge pull request #2860 from GermanBluefox/patch-1
Fix too long number in "Accept new temp basal"
This commit is contained in:
commit
3b62110922
|
@ -801,7 +801,7 @@ var determine_basal = function determine_basal(glucose_status, currenttemp, iob_
|
||||||
|
|
||||||
rT.COB=meal_data.mealCOB;
|
rT.COB=meal_data.mealCOB;
|
||||||
rT.IOB=iob_data.iob;
|
rT.IOB=iob_data.iob;
|
||||||
rT.reason="COB: " + meal_data.mealCOB + ", Dev: " + convert_bg(deviation, profile) + ", BGI: " + convert_bg(bgi, profile) + ", ISF: " + convert_bg(sens, profile) + ", CR: " + round(profile.carb_ratio, 2) + ", Target: " + convert_bg(target_bg, profile) + ", minPredBG " + convert_bg(minPredBG, profile) + ", minGuardBG " + convert_bg(minGuardBG, profile) + ", IOBpredBG " + convert_bg(lastIOBpredBG, profile);
|
rT.reason="COB: " + round(meal_data.mealCOB, 1) + ", Dev: " + convert_bg(deviation, profile) + ", BGI: " + convert_bg(bgi, profile) + ", ISF: " + convert_bg(sens, profile) + ", CR: " + round(profile.carb_ratio, 2) + ", Target: " + convert_bg(target_bg, profile) + ", minPredBG " + convert_bg(minPredBG, profile) + ", minGuardBG " + convert_bg(minGuardBG, profile) + ", IOBpredBG " + convert_bg(lastIOBpredBG, profile);
|
||||||
if (lastCOBpredBG > 0) {
|
if (lastCOBpredBG > 0) {
|
||||||
rT.reason += ", COBpredBG " + convert_bg(lastCOBpredBG, profile);
|
rT.reason += ", COBpredBG " + convert_bg(lastCOBpredBG, profile);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue