- parm.FREQUENCY = ((((local * 2) / 125) + 1) / 2) * 125;
- frontend.setData(eDVBFrontend::FREQ_OFFSET, sat.frequency - parm.FREQUENCY);
+ parm.frequency = ((((local * 2) / 125) + 1) / 2) * 125;
+ frontend.setData(eDVBFrontend::FREQ_OFFSET, sat.frequency - parm.frequency);
if ( voltage_mode == eDVBSatelliteSwitchParameters::_14V
|| ( sat.polarisation & eDVBFrontendParametersSatellite::Polarisation_Vertical
if ( voltage_mode == eDVBSatelliteSwitchParameters::_14V
|| ( sat.polarisation & eDVBFrontendParametersSatellite::Polarisation_Vertical
- parm.FREQUENCY = lnb_param.SatCRvco - (tmp1 - (1000 * tmp2));
- frontend.setData(eDVBFrontend::FREQ_OFFSET, sat.frequency - lof -(lnb_param.SatCRvco - parm.FREQUENCY));
+ parm.frequency = lnb_param.SatCRvco - (tmp1 - (1000 * tmp2));
+ frontend.setData(eDVBFrontend::FREQ_OFFSET, sat.frequency - lof -(lnb_param.SatCRvco - parm.frequency));
+ lnb_param.guard_offset;
volatile unsigned int tmp2 = (4000 + 2 * tmp1) / (2 *4000); //round to multiple of 4000
+ lnb_param.guard_offset;
volatile unsigned int tmp2 = (4000 + 2 * tmp1) / (2 *4000); //round to multiple of 4000
lnb_param.UnicableTuningWord = tmp2
| ((band & 1) ? 0x400 : 0) //HighLow
| ((band & 2) ? 0x800 : 0) //VertHor
lnb_param.UnicableTuningWord = tmp2
| ((band & 1) ? 0x400 : 0) //HighLow
| ((band & 2) ? 0x800 : 0) //VertHor
bool changed_csw = false;
bool changed_ucsw = false;
bool changed_burst = false;
bool changed_csw = false;
bool changed_ucsw = false;
bool changed_burst = false;
{
changed_csw = send_csw && (forceChanged || csw != lastcsw);
changed_ucsw = send_ucsw && (forceChanged || ucsw != lastucsw);
{
changed_csw = send_csw && (forceChanged || csw != lastcsw);
changed_ucsw = send_ucsw && (forceChanged || ucsw != lastucsw);