From d6b3416f7be477a533f5904fe3f7e47a498e0222 Mon Sep 17 00:00:00 2001 From: bsongis Date: Thu, 30 Aug 2012 14:46:24 +0000 Subject: [PATCH] Inactivity alarm not quick enough --- src/open9x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/open9x.cpp b/src/open9x.cpp index a3ec01594..376a4972b 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -2575,7 +2575,7 @@ void perMain() inacCounter++; inacPrescale = 0; if (inacCounter > ((uint16_t)g_eeGeneral.inactivityTimer*100*60/16)) - if ((inacCounter&0x3F)==10) AUDIO_INACTIVITY(); + if ((inacCounter&0x1F)==1) AUDIO_INACTIVITY(); } }