diff --git a/lib/determine-basal/determine-basal.js b/lib/determine-basal/determine-basal.js index 36885d03c..060d5bf9b 100644 --- a/lib/determine-basal/determine-basal.js +++ b/lib/determine-basal/determine-basal.js @@ -740,12 +740,6 @@ var determine_basal = function determine_basal(glucose_status, currenttemp, iob_ } // eventualBG, snoozeBG, or minPredBG is below max_bg if (Math.min(eventualBG,snoozeBG,minPredBG) < max_bg) { - // if there is a high-temp running and eventualBG > max_bg, let it run - //if (eventualBG > max_bg && round_basal(currenttemp.rate, profile) > round_basal(basal, profile) && currenttemp.duration > 5 ) { - //rT.reason += eventualBG + " > " + max_bg + ": no temp required (letting high temp of " + currenttemp.rate + " run). " - //return rT; - //} - // if in SMB mode, don't cancel SMB zero temp if (! (microBolusAllowed && enableSMB )) { rT.reason += convert_bg(eventualBG, profile)+"-"+convert_bg(Math.min(minPredBG,snoozeBG), profile)+" in range: bolus snooze, no temp required";