AndroidAPS/pump
Carlos Rafael Giani 8537c42d0a combov2: Use dedicated variable for keeping track of suspended state
This is necessary to prevent race conditions during connection setup.
isSuspended() was relying on the driverStateUIFlow to determine if the
pump is currently suspended. However, because driverStateUIFlow is updated
in a separate coroutine, there is a chance that the Suspended state is
set shortly _after_ connect() called isSuspended() to determine if the
pump is suspended or not, causing connect() to do the wrong thing and
assume that the pump is currently connected. Since the main screen does
not show the current profile number, this leads to the error message
"profile 1 must be the active profile, not profile 0".
2023-04-03 20:52:48 +02:00
..
combo lints & small fixes 2023-02-14 11:37:31 +01:00
combov2 combov2: Use dedicated variable for keeping track of suspended state 2023-04-03 20:52:48 +02:00
dana New Crowdin updates (#2456) 2023-03-13 21:32:18 +01:00
danar New Crowdin updates (#2415) 2023-02-17 10:24:57 +01:00
danars DanaRS: do not send another packet if previous failed 2023-03-03 22:20:02 +01:00
diaconn New Crowdin updates (#2456) 2023-03-13 21:32:18 +01:00
eopatch EOPATCH2: fix NS carbs sync 2023-03-16 18:29:53 +01:00
eopatch-core EOpatch: cleanup 2022-11-03 17:06:59 +01:00
medtronic New Crowdin updates (#2456) 2023-03-13 21:32:18 +01:00
omnipod-common New Crowdin updates (#2456) 2023-03-13 21:32:18 +01:00
omnipod-dash New Crowdin updates (#2456) 2023-03-13 21:32:18 +01:00
omnipod-eros New Crowdin updates (#2456) 2023-03-13 21:32:18 +01:00
pump-common New Crowdin updates (#2456) 2023-03-13 21:32:18 +01:00
pump-core New Crowdin updates (#2456) 2023-03-13 21:32:18 +01:00
rileylink New Crowdin updates (#2456) 2023-03-13 21:32:18 +01:00
virtual New Crowdin updates (#2431) 2023-02-26 10:44:12 +01:00