From 75e29704748524a4b13d99449c885e14fc8b19a0 Mon Sep 17 00:00:00 2001 From: probonopd Date: Thu, 21 Apr 2022 21:02:53 +0200 Subject: [PATCH] Increase reboot timeout to 120 seconds https://github.com/probonopd/MiniDexed/issues/134 --- src/userinterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/userinterface.cpp b/src/userinterface.cpp index 058f14e..0fbf440 100644 --- a/src/userinterface.cpp +++ b/src/userinterface.cpp @@ -209,7 +209,7 @@ void CUserInterface::EncoderEventHandler (CKY040::TEvent Event) break; case CKY040::EventSwitchHold: - if (m_pRotaryEncoder->GetHoldSeconds () >= 10) + if (m_pRotaryEncoder->GetHoldSeconds () >= 120) { delete m_pLCD; // reset LCD