fix BG Difference in MGDL

This commit is contained in:
Milos Kozak 2019-09-04 20:21:27 +02:00
parent c848095060
commit d452d21c93

View file

@ -68,7 +68,7 @@ public class TriggerDelta extends Trigger {
if (units.equals(Constants.MMOL))
value = new InputDelta(0, -MMOL_MAX, MMOL_MAX, 0.1d, new DecimalFormat("0.1"), DeltaType.DELTA);
else
value = new InputDelta(0, -MGDL_MAX, MGDL_MAX, 0.1d, new DecimalFormat("1"), DeltaType.DELTA);
value = new InputDelta(0, -MGDL_MAX, MGDL_MAX, 1d, new DecimalFormat("1"), DeltaType.DELTA);
}