From cd29fedbfb8c062a15edbf74c0b58fd0e6d8f2da Mon Sep 17 00:00:00 2001 From: Oleksiy Date: Sun, 23 Mar 2025 21:06:29 +0200 Subject: [PATCH] fixed menu item being selected after exiting settings --- Software/Gravity/Interactions.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Software/Gravity/Interactions.ino b/Software/Gravity/Interactions.ino index ee2aaeb..ea2bbc0 100644 --- a/Software/Gravity/Interactions.ino +++ b/Software/Gravity/Interactions.ino @@ -45,7 +45,9 @@ void checkInputs() { if (menuItemSelected == 1) { menuItemSelected = 0; } else if (displayScreen != 0) { + menuItem = 0; displayScreen = 0; + menuItemSelected = 0; } else if (insideTab == 1) { insideTab = 0; menuItem = 0;