From 4bc5067dfcfe28bed087df5c5a7e60a2ff4a4531 Mon Sep 17 00:00:00 2001 From: Oleksiy Date: Wed, 13 Dec 2023 23:41:44 +0200 Subject: [PATCH] Hidden Ext Midi mode and play indicator for non-internal clocks --- Software/Gravity/Interactions.ino | 4 ++-- Software/Gravity/UI.ino | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Software/Gravity/Interactions.ino b/Software/Gravity/Interactions.ino index 7d00da2..b6076b0 100644 --- a/Software/Gravity/Interactions.ino +++ b/Software/Gravity/Interactions.ino @@ -171,8 +171,8 @@ void checkInputs() { masterClockMode = masterClockMode + change; if (masterClockMode > 100) { masterClockMode = 0; - } else if (masterClockMode > 2) { - masterClockMode = 2; + } else if (masterClockMode > 1) { //Set to 2 to unhide MIDI mode + masterClockMode = 1; } saveState(); } else if (insideTab diff --git a/Software/Gravity/UI.ino b/Software/Gravity/UI.ino index fd4d4b4..3033fc2 100644 --- a/Software/Gravity/UI.ino +++ b/Software/Gravity/UI.ino @@ -267,9 +267,9 @@ void updateScreen() { } } - if (!isPlaying) { + if (masterClockMode == 0 && !isPlaying) { u8g2.drawUTF8(121, yPos, "t"); - } else { + } else if (masterClockMode == 0 && isPlaying) { u8g2.drawUTF8(122, yPos, "r"); } }