mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2025-12-26 23:26:46 +01:00
fix compiling with kernel dvb-core
This commit is contained in:
@@ -114,10 +114,14 @@ static int max_send_master_cmd(struct dvb_frontend *fe,
|
||||
if (cmd->msg_len &&
|
||||
cmd->msg_len == input_diseqc_sequence_length &&
|
||||
!memcmp(cmd->msg, input_diseqc_sequence, cmd->msg_len - 1)) {
|
||||
#ifdef KERNEL_DVB_CORE
|
||||
return max_set_input(fe, cmd->msg[cmd->msg_len - 1] & 0x0f);
|
||||
#else
|
||||
if (dvb->fe->ops.set_input == max_set_input)
|
||||
return max_set_input(fe, cmd->msg[cmd->msg_len - 1] & 0x0f);
|
||||
else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
if (dvb->diseqc_send_master_cmd)
|
||||
dvb->diseqc_send_master_cmd(fe, cmd);
|
||||
|
||||
@@ -28,6 +28,9 @@
|
||||
#define APSK_128 21
|
||||
#define APSK_256 22
|
||||
#define APSK_256_L 23
|
||||
|
||||
#define SYS_ATSC3 (SYS_DVBC2+1)
|
||||
#define SYS_ISDBS3 (SYS_ATSC3+1)
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
|
||||
Reference in New Issue
Block a user