搜索
 找回密码
 立即注册

简单一步 , 微信登陆

setbox更新EPG只能显示pf的bug

作者:icezhou | 时间:2016-7-13 16:50:38 | 阅读:5002| 只看该作者
appmonitor.c中增加如下函数,导致的原因是EITBUF中缺少SATIDX的匹配,无法提取EPG信息
#ifdef DVBS
static void  _Monitor_PhysicalChannelNumber(void)
{
      extern void MApi_EPG_DB_SetMonitorSatIndex(MS_U16 u16SatIdx);
      MS_U16 MApi_EPG_DB_GetMonitorSatIndex(void);
      eSERVICETYPE srvTyp = MApi_DB_CM_GetCurrentServiceType();
      MS_U16 curPos = MApi_DB_CM_GetCurrentPosition(srvTyp);
      MS_U16 u16PCN = MApi_DB_CM_GetPhysicalChannelNumber(srvTyp,curPos);

      if( MApi_EPG_DB_GetMonitorSatIndex() == 0xFFFF)
      {
            MApi_EPG_DB_SetMonitorSatIndex(u16PCN);
      }
}
#endif

static void _appMonitor_Task(void)
{
..................
            _Monitor_AutoUpdateTime();
#ifdef DVBS
           _Monitor_PhysicalChannelNumber();
#endif
..................


}


收藏
收藏0
分享
分享
点赞
点赞0
反对
反对0
该会员没有填写今日想说内容.
回复

使用道具 举报

大神点评1

沙发#
bean.yang 发表于:2016-7-15 12:35:10
希望更多经验贴,赞
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册
手机版