wait till we get something currentDuration % 15 == 0
This commit is contained in:
parent
bfb6039c16
commit
7c001e97bf
1 changed files with 2 additions and 1 deletions
|
@ -162,7 +162,8 @@ public class SetTbrCommand implements Command {
|
|||
private void inputTbrDuration(RuffyScripter scripter) {
|
||||
scripter.verifyMenuIsDisplayed(MenuType.TBR_DURATION);
|
||||
long currentDuration = readDisplayedTbrDuration(scripter);
|
||||
if (currentDuration % 15 != 0) {
|
||||
while(currentDuration % 15 != 0)
|
||||
{
|
||||
// The duration displayed is how long an active TBR will still run,
|
||||
// which might be something like 0:13, hence not in 15 minute steps.
|
||||
// Pressing up will go to the next higher 15 minute step.
|
||||
|
|
Loading…
Reference in a new issue