Skip to content

Commit 0050da6

Browse files
committed
Missing return retValue in calcTotalLiquorVol()
1 parent a604d5e commit 0050da6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

StepLogic.ino

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -645,10 +645,10 @@ unsigned long calcStrikeVol(byte recipe) {
645645

646646
unsigned long calcTotalLiquorVol(byte recipe) {
647647
unsigned long retValue = calcPreboilVol(recipe);
648-
648+
649649
//Add Water Lost in Spent Grain
650650
retValue += calcGrainLoss(recipe);
651-
651+
652652
//Add extra sparge volume needed for loss during transfer of sprage liquor
653653
retValue += getSpargeLoss();
654654

@@ -657,11 +657,12 @@ unsigned long calcTotalLiquorVol(byte recipe) {
657657

658658
//Add extra volume needed for loss during transfer from mash to boil
659659
retValue += getMashLoss();
660+
return retValue;
660661
}
661662

662663
unsigned long calcSpargeVol(byte recipe) {
663664
unsigned long retValue = calcTotalLiquorVol(recipe);
664-
665+
665666
//Subtract Strike Water Volume
666667
retValue -= calcStrikeVol(recipe);
667668

0 commit comments

Comments
 (0)