Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'dev' into cr-ignores-tt-sr
  • Loading branch information
scottleibrand authored Feb 17, 2019
commit ca8dfbef79585151f9000fe61b43547d6a201a17
2 changes: 1 addition & 1 deletion lib/determine-basal/determine-basal.js
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ var determine_basal = function determine_basal(glucose_status, currenttemp, iob_
// use autosens-adjusted sens to counteract autosens meal insulin dosing adjustments so that
// autotuned CR is still in effect even when basals and ISF are being adjusted by TT or autosens
// this avoids overdosing insulin for large meals when low temp targets are active
var csf = sens / profile.carb_ratio;
csf = sens / profile.carb_ratio;
console.error("profile.sens:",profile.sens,"sens:",sens,"CSF:",csf);

var maxCarbAbsorptionRate = 30; // g/h; maximum rate to assume carbs will absorb if no CI observed
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.