From 2c0496be8282970548d25defc7ff7a113a54b087 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 4 Mar 2017 20:30:28 +0100 Subject: [PATCH] frontend: use hw_caps instead of BOXMODEL define --- src/zapit/src/frontend.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/zapit/src/frontend.cpp b/src/zapit/src/frontend.cpp index 117997e8c..58fd2d5ab 100644 --- a/src/zapit/src/frontend.cpp +++ b/src/zapit/src/frontend.cpp @@ -40,6 +40,8 @@ #include #include +#include + extern transponder_list_t transponders; extern int zapit_debug; @@ -327,9 +329,7 @@ void CFrontend::getFEInfo(void) switch (info.type) { case FE_QPSK: deliverySystemMask |= DVB_S; -#ifndef BOXMODEL_CS_HD1 - if (info.caps & FE_CAN_2G_MODULATION) -#endif + if (info.caps & FE_CAN_2G_MODULATION || get_hwcaps()->force_tuner_2G) deliverySystemMask |= DVB_S2; break; case FE_OFDM: