From 324a0c4b771cfa4875fe372c1a6812d9f122b31b Mon Sep 17 00:00:00 2001 From: bsongis Date: Tue, 18 Sep 2012 21:42:31 +0000 Subject: [PATCH] [all] Issue 140 fixed --- src/open9x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/open9x.cpp b/src/open9x.cpp index da1ed3a23..a93d80f84 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -954,7 +954,7 @@ void checkBacklight() if (++inacPrescale > 15 ) { inacCounter++; inacPrescale = 0; - if (inacCounter > ((uint16_t)g_eeGeneral.inactivityTimer*100*60/16)) + if (inacCounter > ((uint16_t)g_eeGeneral.inactivityTimer*25*15)) if ((inacCounter&0x1F)==1) AUDIO_INACTIVITY(); } }