Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon-b-m committed Jan 28, 2025
1 parent d607d56 commit ec853e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FreeAPS/Resources/javascript/autoisf/autoisf.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,12 +455,12 @@ function aimi(profile, pumpHistory, dynamicVariables, glucose_status) {
return
}

let allowed_duration = profile.iaps.b30_duration;
const allowed_duration = profile.iaps.b30_duration;
let last_bolus_amount = 0;
let minutes_ago = allowed_duration + 1;
const minimal_bolus = profile.iaps.iTime_Start_Bolus;
let rate = profile.current_basal;
let now = new Date();
const now = new Date();

//Find Last Manual bolus
let bolus = pumpHistory.find((element) => element._type === "Bolus" && !element.isSMB);
Expand Down

0 comments on commit ec853e3

Please sign in to comment.