mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
frontend: use hw_caps instead of BOXMODEL define
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2c0496be82
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-03-04 (Sat, 04 Mar 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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