Project

General

Profile

Bug #1560 » t.diff

FE_READ_STATUS debug - Adam Sutton, 2013-01-22 17:07

View differences:

src/dvb/dvb_fe.c
108 108
  /**
109 109
   * Read out front end status
110 110
   */
111
  if(ioctl(tda->tda_fe_fd, FE_READ_STATUS, &fe_status))
111
  if(ioctl(tda->tda_fe_fd, FE_READ_STATUS, &fe_status)) {
112
    tvhlog(LOG_WARN, "dvb", "FAILED TO FE_READ_STATUS");
112 113
    fe_status = 0;
114
  } else {
115
    tvhlog(LOG_DEBUG, "dvb", "FE_READ_STATUS = %08X\n", fe_status);
116
  }
113 117

  
114 118
  if(fe_status & FE_HAS_LOCK)
115 119
    status = -1;
(1-1/3)