small fix, no changes

Conflicts:
	src/zapit/src/frontend.cpp
This commit is contained in:
BPanther
2020-10-19 21:26:28 +02:00
committed by Thilo Graf
parent 39e739e49d
commit fe7c8c0104

View File

@@ -1602,7 +1602,6 @@ bool CFrontend::buildProperties(const FrontendParameters *feparams, struct dtv_p
if (feparams->delsys == DVB_S2) { if (feparams->delsys == DVB_S2) {
nrOfProps = FE_DVBS2_PROPS; nrOfProps = FE_DVBS2_PROPS;
memcpy(cmdseq.props, dvbs2_cmdargs, sizeof(dvbs2_cmdargs)); memcpy(cmdseq.props, dvbs2_cmdargs, sizeof(dvbs2_cmdargs));
cmdseq.props[MODULATION].u.data = feparams->modulation; cmdseq.props[MODULATION].u.data = feparams->modulation;
cmdseq.props[ROLLOFF].u.data = feparams->rolloff; cmdseq.props[ROLLOFF].u.data = feparams->rolloff;
cmdseq.props[PILOTS].u.data = pilot; cmdseq.props[PILOTS].u.data = pilot;
@@ -1610,14 +1609,14 @@ bool CFrontend::buildProperties(const FrontendParameters *feparams, struct dtv_p
cmdseq.props[MIS].u.data = feparams->plp_id | (feparams->pls_code << 8) | (feparams->pls_mode << 26); cmdseq.props[MIS].u.data = feparams->plp_id | (feparams->pls_code << 8) | (feparams->pls_mode << 26);
#endif #endif
if (zapit_debug) if (zapit_debug)
printf("[fe%d/%d] tuner pilot %d (feparams %d)\n", adapter, fenumber, pilot, feparams->pilot); printf("[fe%d/%d] tuner pilot %d (feparams %d) streamid (%d/%d/%d)\n", adapter, fenumber, pilot, feparams->pilot, feparams->plp_id, feparams->pls_code, feparams->pls_mode);
} else { } else {
memcpy(cmdseq.props, dvbs_cmdargs, sizeof(dvbs_cmdargs)); memcpy(cmdseq.props, dvbs_cmdargs, sizeof(dvbs_cmdargs));
nrOfProps = FE_DVBS_PROPS; nrOfProps = FE_DVBS_PROPS;
} }
cmdseq.props[FREQUENCY].u.data = feparams->frequency; cmdseq.props[FREQUENCY].u.data = feparams->frequency;
cmdseq.props[SYMBOL_RATE].u.data = feparams->symbol_rate; cmdseq.props[SYMBOL_RATE].u.data = feparams->symbol_rate;
cmdseq.props[INNER_FEC].u.data = fec; /*_inner*/ ; cmdseq.props[INNER_FEC].u.data = fec; /*_inner*/
break; break;
case DVB_S2X: case DVB_S2X:
nrOfProps = FE_DVBS2X_PROPS; nrOfProps = FE_DVBS2X_PROPS;
@@ -1630,7 +1629,7 @@ bool CFrontend::buildProperties(const FrontendParameters *feparams, struct dtv_p
printf("[fe%d/%d] tuner pilot %d (feparams %d) streamid (%d/%d/%d)\n", adapter, fenumber, pilot, feparams->pilot, feparams->plp_id, feparams->pls_code, feparams->pls_mode); printf("[fe%d/%d] tuner pilot %d (feparams %d) streamid (%d/%d/%d)\n", adapter, fenumber, pilot, feparams->pilot, feparams->plp_id, feparams->pls_code, feparams->pls_mode);
cmdseq.props[FREQUENCY].u.data = feparams->frequency; cmdseq.props[FREQUENCY].u.data = feparams->frequency;
cmdseq.props[SYMBOL_RATE].u.data = feparams->symbol_rate; cmdseq.props[SYMBOL_RATE].u.data = feparams->symbol_rate;
cmdseq.props[INNER_FEC].u.data = fec; /*_inner*/ ; cmdseq.props[INNER_FEC].u.data = fec; /*_inner*/
break; break;
case DVB_C: case DVB_C:
memcpy(cmdseq.props, dvbc_cmdargs, sizeof(dvbc_cmdargs)); memcpy(cmdseq.props, dvbc_cmdargs, sizeof(dvbc_cmdargs));