AndroidAPS/pump
Carlos Rafael Giani d505c1a90b combov2: Check if pump is suspended before setting TBR and delivering bolus
This avoids a misleading error state caused by an IllegalStateException
that gets thrown by the Pump.setTbr() and Pump.deliverBolus() when these
get called while the pump is suspended. Instead, first check for this
suspended state, and if the pump is indeed suspended, immediately exit
with the pump enact result set to not have succeeded nor have been enacted.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-01-28 20:43:29 +01:00
..
combo New Crowdin updates (#2331) 2023-01-09 10:11:17 +01:00
combov2 combov2: Check if pump is suspended before setting TBR and delivering bolus 2023-01-28 20:43:29 +01:00
dana New Crowdin updates (#2331) 2023-01-09 10:11:17 +01:00
danar DanaR: ignore history records with invalid date 2023-01-21 14:48:56 +01:00
danars Dana: cleanup 2022-12-11 21:36:30 +01:00
diaconn New Crowdin updates (#2331) 2023-01-09 10:11:17 +01:00
eopatch EOPATCH2: fix open preferences 2023-01-16 20:21:32 +01:00
eopatch-core EOpatch: cleanup 2022-11-03 17:06:59 +01:00
medtronic New Crowdin updates (#2279) 2022-12-11 20:54:01 +01:00
omnipod-common New Crowdin updates (#2248) 2022-12-02 14:29:28 +01:00
omnipod-dash New Crowdin updates (#2331) 2023-01-09 10:11:17 +01:00
omnipod-eros lints 2022-12-11 14:33:30 +01:00
pump-common New Crowdin updates (#2305) 2022-12-27 21:20:20 +01:00
pump-core New Crowdin updates (#2305) 2022-12-27 21:20:20 +01:00
rileylink New Crowdin updates (#2248) 2022-12-02 14:29:28 +01:00
virtual New Crowdin updates (#2331) 2023-01-09 10:11:17 +01:00