Revision a24dbbce src/dvbttuneparams.cpp

View differences:

src/dvbttuneparams.cpp
33 33
    qam(CONSTELLATION_DEFAULT),
34 34
    inv(INVERSION_OFF),
35 35
    fec1(HP_CODERATE_DEFAULT),
36
    fec2(HP_CODERATE_DEFAULT),
36
    fec2(LP_CODERATE_DEFAULT),
37 37
    hier(HIERARCHY_DEFAULT),
38 38
    bandw(BANDWIDTH_DEFAULT),
39 39
    mode(TRANSMISSION_MODE_DEFAULT),
......
79 79
  // Give it three goes at least!
80 80
  for (int i = 0; i < 3; i++) {
81 81
    int rc = tune_it(frontendFD, 
82
		     0,		// old fd_sec 
83 82
		     freq / 1000, 
84 83
		     0,		// Symbol Rate for DVB-C or DVB-S 
85 84
		     0,		// Polarity 
......
90 89
		     fe_code_rate_t(fec1), 
91 90
		     fe_transmit_mode_t(mode),
92 91
		     fe_guard_interval_t(guard), 
93
		     fe_bandwidth_t(bandw));
92
		     fe_bandwidth_t(bandw),
93
		     fe_code_rate_t(fec2),
94
		     fe_hierarchy_t(hier));
94 95
    if (rc >= 0)
95 96
      return true;
96 97
  }

Also available in: Unified diff