- movieplayer: cleanup from unsupported hardware ifdefs

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-11-07 21:21:58 +01:00
committed by Thilo Graf
parent d5be64f64a
commit 868f6184ae

View File

@@ -513,49 +513,15 @@ void CMoviePlayerGui::updateLcd()
switch (playstate) {
case CMoviePlayerGui::PAUSE:
#if !defined(BOXMODEL_UFS910) \
&& !defined(BOXMODEL_UFS912) \
&& !defined(BOXMODEL_UFS913) \
&& !defined(BOXMODEL_UFS922) \
&& !defined(BOXMODEL_FORTIS_HDBOX) \
&& !defined(BOXMODEL_OCTAGON1008) \
&& !defined(BOXMODEL_HS7110) \
&& !defined(BOXMODEL_HS7810A) \
&& !defined(BOXMODEL_HS7119) \
&& !defined(BOXMODEL_HS7819) \
&& !defined(BOXMODEL_IPBOX9900) \
&& !defined(BOXMODEL_IPBOX99) \
&& !defined(BOXMODEL_IPBOX55)
lcd = "|| ";
#else
lcd = "";
#endif
if (speed < 0) {
sprintf(tmp, "%dx<| ", abs(speed));
lcd = tmp;
} else if (speed > 0) {
sprintf(tmp, "%dx|> ", abs(speed));
lcd = tmp;
#if !defined(BOXMODEL_UFS910) \
&& !defined(BOXMODEL_UFS912) \
&& !defined(BOXMODEL_UFS913) \
&& !defined(BOXMODEL_UFS922) \
&& !defined(BOXMODEL_OCTAGON1008) \
&& !defined(BOXMODEL_HS7110) \
&& !defined(BOXMODEL_HS7810A) \
&& !defined(BOXMODEL_HS7119) \
&& !defined(BOXMODEL_HS7819) \
&& !defined(BOXMODEL_IPBOX9900) \
&& !defined(BOXMODEL_IPBOX99) \
&& !defined(BOXMODEL_IPBOX55)
} else
lcd = "|| ";
#else
} else
lcd = "";
#endif
break;
#if !defined(BOXMODEL_OCTAGON1008)
case CMoviePlayerGui::REW:
sprintf(tmp, "%dx<< ", abs(speed));
lcd = tmp;
@@ -564,24 +530,8 @@ void CMoviePlayerGui::updateLcd()
sprintf(tmp, "%dx>> ", abs(speed));
lcd = tmp;
break;
#endif
case CMoviePlayerGui::PLAY:
#if !defined(BOXMODEL_UFS910) \
&& !defined(BOXMODEL_UFS912) \
&& !defined(BOXMODEL_UFS913) \
&& !defined(BOXMODEL_UFS922) \
&& !defined(BOXMODEL_FORTIS_HDBOX) \
&& !defined(BOXMODEL_OCTAGON1008) \
&& !defined(BOXMODEL_HS7110) \
&& !defined(BOXMODEL_HS7810A) \
&& !defined(BOXMODEL_HS7119) \
&& !defined(BOXMODEL_HS7819) \
&& !defined(BOXMODEL_CUBEREVO_MINI2) \
&& !defined(BOXMODEL_IPBOX9900) \
&& !defined(BOXMODEL_IPBOX99) \
&& !defined(BOXMODEL_IPBOX55)
lcd = "> ";
#endif
break;
default:
break;