665 sprintf(tmp, "Maisch stap %d temperatuur", i); |
665 sprintf(tmp, "Maisch stap %d temperatuur", i); |
666 if (i == 1) |
666 if (i == 1) |
667 mintemp = recipe.MashStep[0].Temperature - 5; |
667 mintemp = recipe.MashStep[0].Temperature - 5; |
668 else |
668 else |
669 mintemp = recipe.MashStep[i - 1].Temperature; |
669 mintemp = recipe.MashStep[i - 1].Temperature; |
670 EditFloat("Inmaisch temperatuur", &recipe.MashStep[i].Temperature, mintemp, 74, 2); |
670 EditFloat(tmp, &recipe.MashStep[i].Temperature, mintemp, 74, 2); |
671 recipe.MashStep[i].Temperature = ((int)(recipe.MashStep[i].Temperature * 4)) / 4.0; |
671 recipe.MashStep[i].Temperature = ((int)(recipe.MashStep[i].Temperature * 4)) / 4.0; |
672 sprintf(tmp, "Maisch stap %d rusttijd in minuten", i); |
672 sprintf(tmp, "Maisch stap %d rusttijd in minuten", i); |
673 EditUint16(tmp, &recipe.MashStep[i].Resttime, 1, 480); |
673 EditUint16(tmp, &recipe.MashStep[i].Resttime, 1, 480); |
674 if (i == 1) { |
674 if (i == 1) { |
675 recipe.MashStep[i].Steptime = 1; |
675 recipe.MashStep[i].Steptime = 1; |