mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-08 14:18:29 +02:00
Merge branch 'ni/tuxbox' into ni/mp/tuxbox
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7af71a8a03
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-02-26 (Sun, 26 Feb 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1320,7 +1320,6 @@ 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... */
|
||||||
if (ev.value) {
|
|
||||||
/* try to compensate for possible changes in wall clock
|
/* try to compensate for possible changes in wall clock
|
||||||
* kernel ev.time default uses CLOCK_REALTIME, as does gettimeofday().
|
* kernel ev.time default uses CLOCK_REALTIME, as does gettimeofday().
|
||||||
* so subtract gettimeofday() from ev.time and then add
|
* so subtract gettimeofday() from ev.time and then add
|
||||||
@@ -1335,7 +1334,6 @@ void CRCInput::getMsg_us(neutrino_msg_t * msg, neutrino_msg_data_t * data, uint6
|
|||||||
now_pressed += t1.tv_sec * 1000000ULL + t1.tv_nsec / 1000;
|
now_pressed += t1.tv_sec * 1000000ULL + t1.tv_nsec / 1000;
|
||||||
now_pressed -= (t2.tv_usec + t2.tv_sec * 1000000ULL);
|
now_pressed -= (t2.tv_usec + t2.tv_sec * 1000000ULL);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
SHTDCNT::getInstance()->resetSleepTimer();
|
SHTDCNT::getInstance()->resetSleepTimer();
|
||||||
if (ev.value && firstKey) {
|
if (ev.value && firstKey) {
|
||||||
firstKey = false;
|
firstKey = false;
|
||||||
|
@@ -1626,6 +1626,7 @@ int CTimerList::modifyTimer()
|
|||||||
if (!strlen(timer->recordingDir))
|
if (!strlen(timer->recordingDir))
|
||||||
strncpy(timer->recordingDir,g_settings.network_nfs_recordingdir.c_str(),sizeof(timer->recordingDir)-1);
|
strncpy(timer->recordingDir,g_settings.network_nfs_recordingdir.c_str(),sizeof(timer->recordingDir)-1);
|
||||||
timer_recordingDir = timer->recordingDir;
|
timer_recordingDir = timer->recordingDir;
|
||||||
|
strncpy(t_old.recordingDir, timer->recordingDir, sizeof(t_old.recordingDir)-1);
|
||||||
|
|
||||||
bool recDirEnabled = (g_settings.recording_type == RECORDING_FILE); // obsolete?
|
bool recDirEnabled = (g_settings.recording_type == RECORDING_FILE); // obsolete?
|
||||||
CMenuForwarder* m6 = new CMenuForwarder(LOCALE_TIMERLIST_RECORDING_DIR, recDirEnabled, timer_recordingDir, this, "rec_dir1", CRCInput::RC_green);
|
CMenuForwarder* m6 = new CMenuForwarder(LOCALE_TIMERLIST_RECORDING_DIR, recDirEnabled, timer_recordingDir, this, "rec_dir1", CRCInput::RC_green);
|
||||||
|
Reference in New Issue
Block a user