diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2008-12-03 23:47:36 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2008-12-03 23:48:20 +0100 |
| commit | 39410381b5f023663c70c4dec09dc1eae287259d (patch) | |
| tree | 2f81dad7a7378a40bd2da1a3a03bf3fc180cf85d /lib/dvb/dvbtime.h | |
| parent | 2ff2e2c4f2a413b36d3eeafee3439ec5df38c59d (diff) | |
| download | enigma2-39410381b5f023663c70c4dec09dc1eae287259d.tar.gz enigma2-39410381b5f023663c70c4dec09dc1eae287259d.zip | |
sync rtc time with linux time every 30 minutes when no transponder is tuned.. we need a fix for hardware without RTC...
Diffstat (limited to 'lib/dvb/dvbtime.h')
| -rw-r--r-- | lib/dvb/dvbtime.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dvb/dvbtime.h b/lib/dvb/dvbtime.h index f403ffd4..3f8d9b7d 100644 --- a/lib/dvb/dvbtime.h +++ b/lib/dvb/dvbtime.h @@ -54,6 +54,7 @@ class eDVBLocalTimeHandler: public Object ePtr<eConnection> m_stateChangedConn; int m_prevChannelState; }; + ePtr<eTimer> m_updateNonTunedTimer; friend class TDT; std::map<iDVBChannel*, channel_data> m_knownChannels; std::map<eDVBChannelID,int> m_timeOffsetMap; @@ -66,6 +67,7 @@ class eDVBLocalTimeHandler: public Object void readTimeOffsetData(const char*); void writeTimeOffsetData(const char*); void updateTime(time_t tp_time, eDVBChannel*, int updateCount); + void updateNonTuned(); static eDVBLocalTimeHandler *instance; #ifdef SWIG eDVBLocalTimeHandler(); |
