Commit 5a02436e authored by Marian Ďurkovič's avatar Marian Ďurkovič Committed by Christophe Massiot

Fix compillation for S2API v5.0

parent 5f1a4b0e
...@@ -476,7 +476,7 @@ static int FrontendDoDiseqc(void) ...@@ -476,7 +476,7 @@ static int FrontendDoDiseqc(void)
#if DVB_API_VERSION >= 5 #if DVB_API_VERSION >= 5
/***************************************************************************** /*****************************************************************************
* GetModulation : helper function for both APIs * GetModulation : helper functions for S2API
*****************************************************************************/ *****************************************************************************/
static fe_modulation_t GetModulation(void) static fe_modulation_t GetModulation(void)
{ {
...@@ -597,7 +597,9 @@ static void FrontendInfo( struct dvb_frontend_info info ) ...@@ -597,7 +597,9 @@ static void FrontendInfo( struct dvb_frontend_info info )
FRONTEND_INFO( info.caps, FE_CAN_8VSB, "8VSB" ) FRONTEND_INFO( info.caps, FE_CAN_8VSB, "8VSB" )
FRONTEND_INFO( info.caps, FE_CAN_16VSB,"16VSB" ) FRONTEND_INFO( info.caps, FE_CAN_16VSB,"16VSB" )
FRONTEND_INFO( info.caps, FE_HAS_EXTENDED_CAPS, "EXTENDED_CAPS" ) FRONTEND_INFO( info.caps, FE_HAS_EXTENDED_CAPS, "EXTENDED_CAPS" )
#if DVBAPI_VERSION >= 501
FRONTEND_INFO( info.caps, FE_CAN_2G_MODULATION, "2G_MODULATION" ) FRONTEND_INFO( info.caps, FE_CAN_2G_MODULATION, "2G_MODULATION" )
#endif
FRONTEND_INFO( info.caps, FE_NEEDS_BENDING, "NEEDS_BENDING" ) FRONTEND_INFO( info.caps, FE_NEEDS_BENDING, "NEEDS_BENDING" )
FRONTEND_INFO( info.caps, FE_CAN_RECOVER, "FE_CAN_RECOVER" ) FRONTEND_INFO( info.caps, FE_CAN_RECOVER, "FE_CAN_RECOVER" )
FRONTEND_INFO( info.caps, FE_CAN_MUTE_TS, "FE_CAN_MUTE_TS" ) FRONTEND_INFO( info.caps, FE_CAN_MUTE_TS, "FE_CAN_MUTE_TS" )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment