Skip to content

Commit

Permalink
fix display
Browse files Browse the repository at this point in the history
  • Loading branch information
murmeltier08 committed Feb 2, 2021
1 parent 866b591 commit da4c603
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rancilio-pid/Displaytemplatetemponly.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
******************************************************/
void printScreen()
{
// Abbruch der Anzeige, Return, wenn Shottimer läuft.
if ((SHOTTIMER == 1 && bezugsZeit > 0) ||
(SHOTTIMER == 1 && millis() >= bezugszeit_last_Millis && bezugszeit_last_Millis+brewswitchDelay >= millis())) // sobald der Brühschalter umgelegt wird, brewswitchDelay abgelaufen
return;
unsigned long currentMillisDisplay = millis();
if (currentMillisDisplay - previousMillisDisplay >= intervalDisplay) {
previousMillisDisplay = currentMillisDisplay;
Expand Down

0 comments on commit da4c603

Please sign in to comment.