some Small improvements

This commit is contained in:
Sandra Keßler 2017-08-12 00:27:30 +02:00
parent 3fd6884d03
commit 92ca9aaede

View file

@ -179,11 +179,8 @@ public class SetTbrCommand implements Command {
Log.v("SetTbrCommand", "Adjusting duration(" + requestedDuration + "/" + actualDuration + ") with " + steps + " steps and " + retries + " retries left");
scripter.step(steps, (steps > 0 ? RuffyScripter.Key.UP : RuffyScripter.Key.DOWN), 500);
scripter.waitScreen(1000);
} else {
break;
}
}
else
scripter.waitScreen(1000);
}
if (currentDuration < 0 || retries < 0)
@ -229,6 +226,7 @@ public class SetTbrCommand implements Command {
scripter.pressCheckKey();
retries++;
canceledError = true;
scripter.waitScreen(1000);
}
else {
retries--;