don't trigger loop on treatment
This commit is contained in:
parent
b6cd56b90a
commit
3ec5eaea63
|
@ -131,13 +131,6 @@ public class LoopPlugin extends PluginBase {
|
||||||
return pump == null || pump.getPumpDescription().isTempBasalCapable;
|
return pump == null || pump.getPumpDescription().isTempBasalCapable;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Subscribe
|
|
||||||
public void onStatusEvent(final EventTreatmentChange ev) {
|
|
||||||
if (ev.treatment == null || !ev.treatment.isSMB) {
|
|
||||||
invoke("EventTreatmentChange", true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method is triggered once autosens calculation has completed, so the LoopPlugin
|
* This method is triggered once autosens calculation has completed, so the LoopPlugin
|
||||||
* has current data to work with. However, autosens calculation can be triggered by multiple
|
* has current data to work with. However, autosens calculation can be triggered by multiple
|
||||||
|
|
Loading…
Reference in a new issue