Changeset 40015


Ignore:
Timestamp:
02/14/17 18:39:35 (5 years ago)
Author:
gost
Message:

[titan] fix DVB-C... I hope

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/frontenddev.h

    r39753 r40015  
    15311531        struct dtv_properties cmdseq;
    15321532        cmdseq.props = p;
     1533       
     1534        int system = tpnode->system;
     1535       
     1536#if DREAMBOX
     1537        switch(system)
     1538        {
     1539                case 0: system = SYS_DVBC_ANNEX_A; break;
     1540                case 1: system = SYS_DVBC_ANNEX_C; break;
     1541                default: system = SYS_DVBC_ANNEX_A; break;
     1542        }
     1543#endif
    15331544
    15341545        p[0].cmd = DTV_CLEAR;
    1535         p[1].cmd = DTV_DELIVERY_SYSTEM, p[1].u.data = tpnode->system;
     1546        p[1].cmd = DTV_DELIVERY_SYSTEM, p[1].u.data = system;
    15361547        p[2].cmd = DTV_FREQUENCY,       p[2].u.data = tpnode->frequency;
    15371548        p[3].cmd = DTV_MODULATION,      p[3].u.data = modulation;
Note: See TracChangeset for help on using the changeset viewer.