Skip to content

Conversation

@scottleibrand
Copy link
Contributor

Using fractionCOBAbsorbed to calculate remainingCATime works well for meals where all the carbs are entered up front, but tends to be too slow to bolus for additional carbs entered later. This changes the remainingCATime to be calculated based on the remainingCATimeMin (usually 3h) plus the time since the last carb entry, so that when additional carbs are entered, it resets the clock and assumes that they (and any remaining COB) will absorb over 3h.

@scottleibrand scottleibrand merged commit 7d1e805 into dev Sep 29, 2017
@scottleibrand scottleibrand deleted the stacked-carbs branch September 29, 2017 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants