mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
frontend: use hw_caps instead of BOXMODEL define
This commit is contained in:
@@ -40,6 +40,8 @@
|
|||||||
#include <driver/abstime.h>
|
#include <driver/abstime.h>
|
||||||
#include <linux/dvb/version.h>
|
#include <linux/dvb/version.h>
|
||||||
|
|
||||||
|
#include <hardware_caps.h>
|
||||||
|
|
||||||
extern transponder_list_t transponders;
|
extern transponder_list_t transponders;
|
||||||
extern int zapit_debug;
|
extern int zapit_debug;
|
||||||
|
|
||||||
@@ -327,9 +329,7 @@ void CFrontend::getFEInfo(void)
|
|||||||
switch (info.type) {
|
switch (info.type) {
|
||||||
case FE_QPSK:
|
case FE_QPSK:
|
||||||
deliverySystemMask |= DVB_S;
|
deliverySystemMask |= DVB_S;
|
||||||
#ifndef BOXMODEL_CS_HD1
|
if (info.caps & FE_CAN_2G_MODULATION || get_hwcaps()->force_tuner_2G)
|
||||||
if (info.caps & FE_CAN_2G_MODULATION)
|
|
||||||
#endif
|
|
||||||
deliverySystemMask |= DVB_S2;
|
deliverySystemMask |= DVB_S2;
|
||||||
break;
|
break;
|
||||||
case FE_OFDM:
|
case FE_OFDM:
|
||||||
|
Reference in New Issue
Block a user