Skip to content

Conversation

@jasdmystery
Copy link
Owner

No description provided.

erikdi added 23 commits April 26, 2018 22:01
This is useful to prevent multiple bolus' to create
accidentally very high insulin on board values.  It is
primarly a safety feature, e.g. if someone enters too
many carbs by using multiple apps.
- Revert accidental change
- Clarify the exceed IOB intention
- Remove some merge artifacts
Make Bolus recommendation part of Loop update and don't allow
external calls to it.  The data doesn't change in any case and
update() is called in all places where we want a Bolus
recommendation.

This is in preparation of automated Bolus code, which needs
consistent Bolus and Basal data.
The recommendedBolus variable contains the same information.
Depends on wip/bolus and wip/iob branch.

Still needs cleanup and testing.
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