enable loop only when pump is temp basals capable

This commit is contained in:
Milos Kozak 2016-12-09 21:47:58 +01:00
parent 2a10d4789e
commit cf4851250d

View file

@ -64,7 +64,7 @@ public class SafetyPlugin implements PluginBase, ConstraintsInterface {
@Override
public boolean isLoopEnabled() {
return true;
return MainApp.getConfigBuilder().getPumpDescription().isTempBasalCapable;
}
/**