#endif
{
#if HAVE_DVB_API_VERSION < 3
+ sprintf(m_filename, "/dev/dvb/card%d/frontend%d", adap, fe);
sprintf(m_sec_filename, "/dev/dvb/card%d/sec%d", adap, fe);
-#endif
+#else
sprintf(m_filename, "/dev/dvb/adapter%d/frontend%d", adap, fe);
-
+#endif
m_timeout = new eTimer(eApp);
CONNECT(m_timeout->timeout, eDVBFrontend::timeout);
++m_sec_sequence.current();
break;
case eSecCommand::SET_VOLTAGE:
+ {
int voltage = m_sec_sequence.current()++->voltage;
eDebug("[SEC] setVoltage %d", voltage);
setVoltage(voltage);
break;
+ }
case eSecCommand::SET_TONE:
eDebug("[SEC] setTone %d", m_sec_sequence.current()->tone);
setTone(m_sec_sequence.current()++->tone);