diff -r 224851e81117 -r 3ff381bfa469 main/recipes.c --- a/main/recipes.c Sun Apr 19 23:28:26 2020 +0200 +++ b/main/recipes.c Mon Jun 01 20:27:00 2020 +0200 @@ -722,8 +722,8 @@ } EditInt((char *)"Maisch stappen", &mashsteps, 1, 6); EditFloat((char *)"Inmaisch temperatuur", &recipe.MashStep[0].Temperature, 38, 74, 2); - // Round to 0.25 values - recipe.MashStep[0].Temperature = ((int)(recipe.MashStep[0].Temperature * 4)) / 4.0; + // Round to 0.0625 values + recipe.MashStep[0].Temperature = ((int)(recipe.MashStep[0].Temperature * 16)) / 16.0; for (int i = 1; i <= mashsteps; i++) { sprintf(tmp, "Maisch stap %d naam", i); EditText(tmp, recipe.MashStep[i].Name, 31); @@ -734,6 +734,7 @@ else mintemp = recipe.MashStep[i - 1].Temperature; EditFloat(tmp, &recipe.MashStep[i].Temperature, mintemp, 74, 2); + // Round to 0.25 values recipe.MashStep[i].Temperature = ((int)(recipe.MashStep[i].Temperature * 4)) / 4.0; sprintf(tmp, "Maisch stap %d rusttijd in minuten", i); EditUint16(tmp, &recipe.MashStep[i].Resttime, 1, 480);