Bugfix
This commit is contained in:
parent
3c95bb11ce
commit
52a01b0a81
1 changed files with 1 additions and 1 deletions
|
@ -1042,7 +1042,7 @@ public class OmnipodPumpPlugin extends PumpPluginBase implements PumpInterface,
|
||||||
|
|
||||||
private void initializeAfterRileyLinkConnection() {
|
private void initializeAfterRileyLinkConnection() {
|
||||||
if (podStateManager.getActivationProgress().isAtLeast(ActivationProgress.PAIRING_COMPLETED)) {
|
if (podStateManager.getActivationProgress().isAtLeast(ActivationProgress.PAIRING_COMPLETED)) {
|
||||||
boolean success = true;
|
boolean success = false;
|
||||||
for (int i = 0; STARTUP_STATUS_REQUEST_TRIES > i; i++) {
|
for (int i = 0; STARTUP_STATUS_REQUEST_TRIES > i; i++) {
|
||||||
PumpEnactResult result = getPodStatus();
|
PumpEnactResult result = getPodStatus();
|
||||||
if (result.success) {
|
if (result.success) {
|
||||||
|
|
Loading…
Reference in a new issue