Skip to content
Snippets Groups Projects
Commit 547d9c2d authored by Volker Richert's avatar Volker Richert
Browse files

fixing #95

parent c5f91833
No related branches found
No related tags found
No related merge requests found
......@@ -204,7 +204,7 @@ public class MedtronicCnlIntentService extends IntentService {
// reduce polling interval to half until pump is available
MedtronicCnlAlarmManager.setAlarm(activePump.getLastQueryTS() +
(MainActivity.pollInterval + MedtronicCnlIntentService.POLL_GRACE_PERIOD_MS) / (MainActivity.reducePollOnPumpAway?2L:1L)
(MainActivity.pollInterval / (MainActivity.reducePollOnPumpAway?2L:1L))
);
} else {
setActivePumpMac(pumpMAC);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment