From ae7b02af84db6769baeaa89e72fb093eb04253c1 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Tue, 31 Mar 2020 15:56:53 +0200 Subject: [PATCH] Small fix. --- UI.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UI.hpp b/UI.hpp index cac5d2b..2461df9 100644 --- a/UI.hpp +++ b/UI.hpp @@ -634,7 +634,8 @@ void lcdml_menu_control(void) Serial.println(F("ENC-L short")); #endif encoderDir[ENC_L].ButtonShort(true); - LCDML.BT_quit(); + if (LCDML.FUNC_getID() < 255) + LCDML.BT_quit(); } } }