mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
fix delayed shutdown
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@723 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: e0403071de
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-08-15 (Sun, 15 Aug 2010)
Origin message was:
------------------
-fix delayed shutdown
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@723 e54a6e83-5905-42d5-8d5c-058d10e6a962
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user