From 0ce7d919b8f423e7b568fd743749b69f9cba369c Mon Sep 17 00:00:00 2001 From: Scott Date: Sun, 3 Sep 2017 21:37:24 -0700 Subject: [PATCH] remove commented code --- lib/determine-basal/determine-basal.js | 6 ------ 1 file changed, 6 deletions(-) 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";