Skip to content

Commit

Permalink
Fix bolus calculation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
EquilHack committed Jan 16, 2024
1 parent 3bdb203 commit b997621
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,8 @@ class EquilHistoryRecordActivity : TranslatedDaggerAppCompatActivity() {

val format2 = dateFormat.format(time2)
val format3 = "%.3f".format(
(abs(time - time2) / 1000.0)
// * _root_ide_package_.app.aaps.pump.equil.manager.Utils.decodeSpeedToUS(record.largeRate)
(Math.abs(time - time2) / 1000.0)
* Utils.decodeSpeedToUS(record.largeRate)
)
val t = (abs(time - time2) / 1000.0)
aapsLogger.debug(LTag.PUMPCOMM, "time===$t===$format3")
Expand Down

0 comments on commit b997621

Please sign in to comment.