mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
cFrontend: add temporary hack for Spark7162 DVB-S tuner
export FE_OFFSET=1 before starting neutrino to use 2nd and 3rd frontend
Origin commit data
------------------
Commit: e2db610523
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-09-23 (Sun, 23 Sep 2012)
This commit is contained in:
@@ -162,6 +162,12 @@ CFrontend::CFrontend(int Number, int Adapter)
|
||||
locked = false;
|
||||
usecount = 0;
|
||||
|
||||
/* temporary hack to use frontend1 / frontend2 on Spark7162 */
|
||||
if (getenv("FE_OFFSET")) {
|
||||
int fe_offset = atoi(getenv("FE_OFFSET"));
|
||||
fenumber += fe_offset;
|
||||
printf("[fe%d] FE_OFFSET is %d -> use frontend%d\n", Number, fe_offset, fenumber);
|
||||
}
|
||||
|
||||
memset(&curfe, 0, sizeof(curfe));
|
||||
curfe.dvb_feparams.u.qpsk.fec_inner = FEC_3_4;
|
||||
|
Reference in New Issue
Block a user