Inactivity alarm not quick enough

This commit is contained in:
bsongis
2012-08-30 14:46:24 +00:00
parent c4149407e3
commit d6b3416f7b
+1 -1
View File
@@ -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();
}
}