This commit is contained in:
Milos Kozak 2018-07-24 14:38:12 +02:00
parent 026c9f4788
commit 96e101aa80

View file

@ -3,6 +3,7 @@ package info.nightscout.androidaps.plugins.Sensitivity;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import info.nightscout.androidaps.Config;
import info.nightscout.androidaps.R; import info.nightscout.androidaps.R;
import info.nightscout.androidaps.interfaces.PluginBase; import info.nightscout.androidaps.interfaces.PluginBase;
import info.nightscout.androidaps.interfaces.PluginDescription; import info.nightscout.androidaps.interfaces.PluginDescription;
@ -52,6 +53,7 @@ public abstract class AbstractSensitivityPlugin extends PluginBase implements Se
if (ratio != rawRatio) { if (ratio != rawRatio) {
ratioLimit += "Ratio limited from " + rawRatio + " to " + ratio; ratioLimit += "Ratio limited from " + rawRatio + " to " + ratio;
if (Config.logAutosensData)
log.debug(ratioLimit); log.debug(ratioLimit);
} }