mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
driver/rcinput.cpp: reset first key press only on key press event
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1398736bd8
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-01-15 (Thu, 15 Jan 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1243,7 +1243,7 @@ void CRCInput::getMsg_us(neutrino_msg_t * msg, neutrino_msg_data_t * data, uint6
|
|||||||
if (ev.type == EV_SYN)
|
if (ev.type == EV_SYN)
|
||||||
continue; /* ignore... */
|
continue; /* ignore... */
|
||||||
SHTDCNT::getInstance()->resetSleepTimer();
|
SHTDCNT::getInstance()->resetSleepTimer();
|
||||||
if (firstKey) {
|
if (ev.value && firstKey) {
|
||||||
firstKey = false;
|
firstKey = false;
|
||||||
CTimerManager::getInstance()->cancelShutdownOnWakeup();
|
CTimerManager::getInstance()->cancelShutdownOnWakeup();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user