-fix delayed shutdown

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@723 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
satbaby
2010-08-15 08:49:37 +00:00
parent 80f25129a0
commit e0403071de
4 changed files with 62 additions and 62 deletions

View File

@@ -58,6 +58,7 @@
#include <global.h>
#include <neutrino.h>
#include <cs_api.h>
//const char * const RC_EVENT_DEVICE[NUMBER_OF_EVENT_DEVICES] = {"/dev/input/nevis_ir", "/dev/input/event0"};
const char * const RC_EVENT_DEVICE[NUMBER_OF_EVENT_DEVICES] = {"/dev/input/nevis_ir"};
@@ -1143,12 +1144,11 @@ printf("[neutrino] CSectionsdClient::EVT_GOT_CN_EPG\n");
if (ev.code == rc_last_key) {
/* only allow selected keys to be repeated */
/* (why?) */
if((trkey == RC_up) || (trkey == RC_down ) ||
if( (trkey == RC_up) || (trkey == RC_down ) ||
(trkey == RC_plus ) || (trkey == RC_minus ) ||
(trkey == RC_page_down ) || (trkey == RC_page_up ) ||
//(trkey == RC_standby) ||
((bAllowRepeatLR) && ((trkey == RC_left ) ||
(trkey == RC_right))))
((bAllowRepeatLR) && ((trkey == RC_left ) || (trkey == RC_right))) ||
((trkey == RC_standby) && (cs_get_revision() > 7)) )
{
#ifdef ENABLE_REPEAT_CHECK
if (rc_last_repeat_key != ev.code) {