AAPS-Omnipod / AndroidAPS

GNU Affero General Public License v3.0
21 stars 19 forks source link

Additional validation for TBR input duration #26

Closed samspycher closed 3 years ago

samspycher commented 3 years ago

When setting a temp basal, AAPS now validates input duration according to DoseSettings.durationStep, mandating a non-zero multiple of that value.

This PR adds the same validation at the Omnipod plugin level using OmnipodConstants.BASAL_STEP_DURATION.