vusolo4k: simplify and unify code from commit 59f48036674e482236336f18b440189e83bd013b

Origin commit data
------------------
Commit: 9604d04d00
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-11-01 (Thu, 01 Nov 2018)

Origin message was:
------------------
- vusolo4k: simplify and unify code from commit 59f48036674e482236336f18b440189e83bd013b
This commit is contained in:
vanhofen
2018-11-01 22:21:20 +01:00
parent 6527794634
commit 6adc04daec
8 changed files with 13 additions and 24 deletions

View File

@@ -419,10 +419,6 @@ AC_ARG_WITH(boxtype,
tripledragon|coolstream|spark|azbox|generic|armbox)
BOXTYPE="$withval"
;;
vusolo4k)
BOXTYPE="armbox"
BOXMODEL="$withval"
;;
*)
AC_MSG_ERROR([bad value $withval for --with-boxtype])
;;
@@ -453,14 +449,7 @@ AS_HELP_STRING([], [valid for generic: raspi]),
AC_MSG_ERROR([unknown model $withval for boxtype $BOXTYPE])
fi
;;
vusolo4k)
if test "$BOXTYPE" = "armbox"; then
BOXMODEL="$withval"
else
AC_MSG_ERROR([unknown model $withval for boxtype $BOXTYPE])
fi
;;
hd51|hd60)
hd51|hd60|vusolo4k)
if test "$BOXTYPE" = "armbox"; then
BOXMODEL="$withval"
else

View File

@@ -537,7 +537,7 @@ start-block~remote
{=if-equal:{=var-get:boxtype=}~CST Trinity Duo~ {=include-block:Y_Blocks.txt;rc_cst_v6=}~
{=if-equal:{=var-get:boxtype=}~AX-Technologies HD51~{=include-block:Y_Blocks.txt;rc_ax_hd51=}~
{=if-equal:{=var-get:boxtype=}~Mutant HD51~ {=include-block:Y_Blocks.txt;rc_mutant_hd51=}~
{=if-equal:{=var-get:boxtype=}~VU SOLO4K~ {=include-block:Y_Blocks.txt;rc_vusolo4k=}~
{=if-equal:{=var-get:boxtype=}~VU+ SOLO4K~ {=include-block:Y_Blocks.txt;rc_vu_solo4k=}~
{=comment:fallback~=} {=include-block:Y_Blocks.txt;rc_cst_v1=}
=}=}=}=}=}=}=}=}=}=}=}
@@ -555,7 +555,7 @@ start-block~remote
{=if-equal:{=var-get:yfbtype=}~8~ {=include-block:Y_Blocks.txt;rc_cst_v6=}~
{=if-equal:{=var-get:yfbtype=}~9~ {=include-block:Y_Blocks.txt;rc_ax_hd51=}~
{=if-equal:{=var-get:yfbtype=}~10~ {=include-block:Y_Blocks.txt;rc_mutant_hd51=}~
{=if-equal:{=var-get:yfbtype=}~11~ {=include-block:Y_Blocks.txt;rc_vusolo4k=}~
{=if-equal:{=var-get:yfbtype=}~11~ {=include-block:Y_Blocks.txt;rc_vu_solo4k=}~
{=comment:fallback~=} {=include-block:Y_Blocks.txt;rc_cst_v1=}
=}=}=}=}=}=}=}=}=}=}=}=}=}
@@ -1067,9 +1067,9 @@ start-block~rc_mutant_hd51
</map>
end-block~rc_mutant_hd51
# ------ Remote VU Solo 4K
start-block~rc_vusolo4k
<img src="images/rc_vusolo4k.png" usemap="#rc"/>
# ------ Remote VU+ Solo 4K
start-block~rc_vu_solo4k
<img src="images/rc_vu_solo4k.png" usemap="#rc"/>
<map name="rc" id="rc">
<!--<area shape="circle" coords="33,28,10" id="113" alt="v1_mute" href="javascript:rcsim('KEY_POWER_TV');">-->
<area shape="circle" coords="105,28,10" id ="116" alt="Power" href="javascript:rcsim('KEY_POWER');">
@@ -1118,4 +1118,4 @@ start-block~rc_vusolo4k
<area shape="circle" coords="81,422,10" id ="128" alt="stop" href="javascript:rcsim('KEY_STOP');">
<area shape="circle" coords="104,422,10" id ="385" alt="radio" href="javascript:rcsim('KEY_RADIO');">
</map>
end-block~rc_vusolo4k
end-block~rc_vu_solo4k

View File

@@ -42,7 +42,7 @@ function do_init(){
case "8": // cst trinity duo
case "9": // ax hd51
case "10": // mutant hd51
case "11": // vusolo4k
case "11": // vu solo4k
sel=(sel*1+val*1);
break;
default:
@@ -162,7 +162,7 @@ select {
<option value="8">CST HD-2 | Trinity Duo</option>
<option value="9">AX | HD51</option>
<option value="10">Mutant | HD51</option>
<option value="11">VU | Solo 4K</option>
<option value="11">VU+ | Solo 4K</option>
</select>
</td>
<td>{=L:set.yweb.screenshot_rc=}</td>

View File

@@ -97,7 +97,7 @@ install_DATA += rc_ax_hd51.png \
endif
if BOXMODEL_VUSOLO4K
install_DATA += rc_vusolo4k.png
install_DATA += rc_vu_solo4k.png
endif
# file manager

View File

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

View File

@@ -223,7 +223,7 @@ class CRCInput
RC_tv = KEY_TV,
RC_radio = KEY_RADIO,
RC_text = KEY_TEXT,
#if defined BOXMODEL_VUSOLO4K
#if BOXMODEL_VUSOLO4K
RC_info = 0xFFFE,
RC_epg = KEY_INFO,
#else

View File

@@ -31,7 +31,7 @@
#include <OpenThreads/ReentrantMutex>
#ifdef BOXMODEL_VUSOLO4K
#if BOXMODEL_VUSOLO4K
#define MAX_FE 16
#define MAX_ADAPTERS 4
#else

View File

@@ -1233,7 +1233,7 @@ bool CFrontend::buildProperties(const FrontendParameters *feparams, struct dtv_p
case FEC_2_3:
fec = FEC_2_3;
if (feparams->delsys == DVB_S2 && feparams->modulation == PSK_8)
#if defined BOXMODEL_VUSOLO4K
#if BOXMODEL_VUSOLO4K
pilot = PILOT_AUTO;
#else
pilot = PILOT_ON;