This commit is contained in:
Bart Sopers 2020-11-20 21:22:10 +01:00
parent 3c95bb11ce
commit 52a01b0a81

View file

@ -1042,7 +1042,7 @@ public class OmnipodPumpPlugin extends PumpPluginBase implements PumpInterface,
private void initializeAfterRileyLinkConnection() {
if (podStateManager.getActivationProgress().isAtLeast(ActivationProgress.PAIRING_COMPLETED)) {
boolean success = true;
boolean success = false;
for (int i = 0; STARTUP_STATUS_REQUEST_TRIES > i; i++) {
PumpEnactResult result = getPodStatus();
if (result.success) {