718 EditText((char *)"Naam", recipe.Name, 31); |
718 EditText((char *)"Naam", recipe.Name, 31); |
719 EditText((char *)"Code", recipe.Code, 31); |
719 EditText((char *)"Code", recipe.Code, 31); |
720 EditUint8((char *)"Maisch stappen", &recipe.Mashsteps, 1, 6); |
720 EditUint8((char *)"Maisch stappen", &recipe.Mashsteps, 1, 6); |
721 for (i = 0; i < recipe.Mashsteps; i++) { |
721 for (i = 0; i < recipe.Mashsteps; i++) { |
722 int step = i + 1; |
722 int step = i + 1; |
723 if (i == (recipe.Mashsteps - 1)) { |
723 if ((i == (recipe.Mashsteps - 1)) && (recipe.Mashsteps > 1)) { |
724 mintemp = 75.0; |
724 mintemp = 75.0; |
725 maxtemp = 80.0; |
725 maxtemp = 80.0; |
726 } else { |
726 } else { |
727 mintemp = 35.0; |
727 mintemp = 35.0; |
728 maxtemp = 74.0; |
728 maxtemp = 74.0; |