From 416fcb485b37fe52b1575473212996ca61f16ea7 Mon Sep 17 00:00:00 2001 From: Carsten Keller Date: Mon, 10 Jun 2024 20:48:04 +0200 Subject: [PATCH] =?UTF-8?q?Lock=20auhc=20zur=C3=BCck=20nehmen=20wenn=20up?= =?UTF-8?q?=20oder=20down=20gedr=C3=BCckt=20wurde?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/Menu.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Menu.cpp b/Source/Menu.cpp index cc8c267..8d31d6e 100644 --- a/Source/Menu.cpp +++ b/Source/Menu.cpp @@ -173,6 +173,10 @@ namespace ElektronischeLast this->configurations = 0UL; } } + if(up.isReleased() || down.isReleased()) + { + this->menu_locked = false; + } } void Menu::menu_call(void)