From 3dbb20bebfc7296f140d3682b9105a9283e4497c Mon Sep 17 00:00:00 2001 From: BPanther Date: Tue, 25 Dec 2018 05:29:24 +0100 Subject: [PATCH] vusolo4k tuner fix Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/ba118e1c90e3473224836387ca5065593c1f6c90 Author: BPanther Date: 2018-12-25 (Tue, 25 Dec 2018) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libarmbox/dmx.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libarmbox/dmx.cpp b/libarmbox/dmx.cpp index 400303f..1c7ea42 100644 --- a/libarmbox/dmx.cpp +++ b/libarmbox/dmx.cpp @@ -71,9 +71,17 @@ static const char *DMX_T[] = { /* this is the number of different cDemux() units, not the number of * /dev/dvb/.../demuxX devices! */ +#if BOXMODEL_VUSOLO4K +#define NUM_DEMUX 16 +#else #define NUM_DEMUX 4 +#endif /* the current source of each cDemux unit */ +#if BOXMODEL_VUSOLO4K +static int dmx_source[NUM_DEMUX] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; +#else static int dmx_source[NUM_DEMUX] = { 0, 0, 0, 0 }; +#endif /* map the device numbers. */ #if BOXMODEL_VUSOLO4K