From f680d70548d6f7ba3968b091e6eaee7f60f05639 Mon Sep 17 00:00:00 2001 From: AdrianLxM Date: Thu, 27 Jul 2017 23:35:44 +0200 Subject: [PATCH] refresh data greater smaller fix --- .../nightscout/androidaps/plugins/PumpCombo/ComboPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ComboPlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ComboPlugin.java index f3513eccf4..beb1b75bb7 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ComboPlugin.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ComboPlugin.java @@ -325,7 +325,7 @@ public class ComboPlugin implements PluginBase, PumpInterface { if (!reason.toLowerCase().contains("user") && lastCmdTime.getTime() > 0 - && System.currentTimeMillis() > lastCmdTime.getTime() + 60 * 1000) { + && System.currentTimeMillis() < lastCmdTime.getTime() + 60 * 1000) { log.debug("Not fetching state from pump, since we did already within the last 60 seconds"); } else { runCommand(new ReadPumpStateCommand());