main/config.c

changeset 19
49e2960d4642
parent 15
34b1eb93e71a
child 57
6c5211c0120b
--- a/main/config.c	Fri Oct 26 13:29:14 2018 +0200
+++ b/main/config.c	Fri Oct 26 21:23:46 2018 +0200
@@ -431,13 +431,13 @@
 	recipe.MashStep[0].Infusion_amount = 15.0;
 	recipe.MashStep[0].Resttime = 1;
 	recipe.MashStep[0].Ramptime = 1;
+	for (int i = 1; i < 8; i++)
+	    recipe.MashStep[i].Type = MASHTYPE_TEMPERATURE;
 	sprintf(recipe.MashStep[1].Name, "Mash");
-	recipe.MashStep[1].Type = MASHTYPE_TEMPERATURE;
 	recipe.MashStep[1].Temperature = 67.0;
 	recipe.MashStep[1].Resttime = 75;
 	recipe.MashStep[1].Ramptime = 1;
 	sprintf(recipe.MashStep[7].Name, "Mash-out");
-	recipe.MashStep[7].Type = MASHTYPE_TEMPERATURE;
 	recipe.MashStep[7].Temperature = 78.0; 
 	recipe.MashStep[7].Resttime = 5;
 	recipe.MashStep[7].Ramptime = 11;

mercurial