wear: correct upper cutoff

This commit is contained in:
AdrianLxM 2021-01-09 07:00:32 +01:00
parent b1ac181791
commit f818ae377f
2 changed files with 3 additions and 3 deletions

View file

@ -50,8 +50,8 @@ android {
applicationId "info.nightscout.androidaps" applicationId "info.nightscout.androidaps"
minSdkVersion 23 minSdkVersion 23
targetSdkVersion 28 targetSdkVersion 28
versionCode 1 versionCode 2
versionName "1.0.2" versionName "1.0.3"
buildConfigField "String", "BUILDVERSION", generateGitBuild() buildConfigField "String", "BUILDVERSION", generateGitBuild()
} }
buildTypes { buildTypes {

View file

@ -31,7 +31,7 @@ import lecho.lib.hellocharts.model.Viewport;
*/ */
public class BgGraphBuilder { public class BgGraphBuilder {
public static final double MAX_PREDICTION__TIME_RATIO = (3d / 5); public static final double MAX_PREDICTION__TIME_RATIO = (3d / 5);
public static final double UPPER_CUTOFF_SGV = 300; public static final double UPPER_CUTOFF_SGV = 400;
private final long predictionEndTime; private final long predictionEndTime;
private final List<BgWatchData> predictionsList; private final List<BgWatchData> predictionsList;
private final ArrayList<BolusWatchData> bolusWatchDataList; private final ArrayList<BolusWatchData> bolusWatchDataList;