nightscout / Trio

Trio - an automated insulin delivery system for iOS based on the OpenAPS algorithm with adaptations.
https://docs.diy-trio.org/en/latest/
MIT License
98 stars 531 forks source link

update submodules OmniXXX: fix rare Insert Cannula error when cannula is already inserted #388

Closed marionbarker closed 3 months ago

marionbarker commented 3 months ago

This corrects the rare event reported in Issue #380.

The code for each submodule, OmniBLE and OmniKit, was updated for InsertCannulaViewModel. Return success if podAlreadyPaired is true (which only happens when cannula was successfully inserted and pod has reached pod state 8). In addition, the Preview in InsertCannulaView was updated so it could be used to test the fix.

This brings in code changes from