neutrino.cpp: force adding shutdown event after record stop,

in case soft-standby by power key disabled but box mode switched to standby to finish record
This commit is contained in:
[CST] Focus
2015-01-15 15:26:52 +03:00
parent 1398736bd8
commit 0debbfcc7c
2 changed files with 10 additions and 3 deletions

View File

@@ -154,7 +154,6 @@ class CRCInput
int fd_max;
int clickfd;
bool firstKey;
__u16 rc_last_key;
void set_dsp();
@@ -284,6 +283,7 @@ class CRCInput
uint64_t repeat_block;
uint64_t repeat_block_generic;
bool firstKey;
CRCInput(); //constructor - opens rc-device and starts needed threads
~CRCInput(); //destructor - closes rc-device