- minor change in code

- renamed version to 0.11, preparing for tag
This commit is contained in:
Andy Rozman 2019-07-05 12:21:49 +01:00
parent 7713270524
commit 4088b38883
2 changed files with 7 additions and 3 deletions

View file

@ -105,7 +105,7 @@ android {
multiDexEnabled true
versionCode 1500
// dev_version: 2.3.1-dev
version "medtronic-0.11.12-SNAPSHOT"
version "medtronic-0.11"
buildConfigField "String", "VERSION", '"' + version + '"'
buildConfigField "String", "BUILDVERSION", '"' + generateGitBuild() + '-' + generateDate() + '"'
buildConfigField "String", "HEAD", '"' + generateGitBuild() + '"'

View file

@ -701,9 +701,13 @@ public class MedtronicHistoryData {
return entriesFromHistory.get(0);
}
for (int min = 0; min <= 2; min += 1) {
for (int min = 0; min < 2; min += 1) {
for (int sec = 0; sec <= 40; sec += 10) {
for (int sec = 0; sec <= 50; sec += 10) {
if (min == 1 && sec == 50) {
sec = 59;
}
int diff = (sec * 1000);