From da4c603f07fc99edfc6e6b4cad5d20a250b7f994 Mon Sep 17 00:00:00 2001 From: murmeltier08 <44034211+murmeltier08@users.noreply.github.com> Date: Tue, 2 Feb 2021 21:03:04 +0100 Subject: [PATCH] fix display --- rancilio-pid/Displaytemplatetemponly.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rancilio-pid/Displaytemplatetemponly.h b/rancilio-pid/Displaytemplatetemponly.h index ffe269f5e..3389f0690 100644 --- a/rancilio-pid/Displaytemplatetemponly.h +++ b/rancilio-pid/Displaytemplatetemponly.h @@ -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;