Skip to content

Commit

Permalink
fix makros for brew() and brewTimer()
Browse files Browse the repository at this point in the history
  • Loading branch information
LoQue90 committed Sep 8, 2024
1 parent 9944da9 commit 4e5e167
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ void handleMachineState() {
case kBrew:

if (currBrewState == kBrewIdle || currBrewState == kWaitBrewOff) {
// delay shot timer display for voltage sensor or hw brew toggle switch (brew counter)
// delay shot timer display after brewSwitch got released
machineState = kShotTimerAfterBrew;
lastBrewTimeMillis = millis(); // for delay
}
Expand Down Expand Up @@ -1555,12 +1555,12 @@ void looppid() {
shottimerscale(); // Calculation of weight of shot while brew is running
#endif

#if (FEATURE_BREWSWITCH == 1)
#if (FEATURE_BREWCONTROLL == 0)
#if (FEATURE_BREWSWITCH == 1 && FEATURE_BREWCONTROL == 0)
brewTimer();
#elif
brew();
#endif

#if (FEATURE_BREWSWITCH == 1 && FEATURE_BREWCONTROL == 1)
brew();
#endif

#if (FEATURE_PRESSURESENSOR == 1)
Expand Down

0 comments on commit 4e5e167

Please sign in to comment.