mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2025-03-01 10:35:23 +00:00
add some more debugging messages
This commit is contained in:
parent
6c7a754004
commit
76697f420f
@ -809,8 +809,10 @@ static int dddvb_fe_init(struct dddvb *dd, int a, int f, int fd)
|
|||||||
dps.props = dp;
|
dps.props = dp;
|
||||||
dp[0].cmd = DTV_ENUM_DELSYS;
|
dp[0].cmd = DTV_ENUM_DELSYS;
|
||||||
r = ioctl(fd, FE_GET_PROPERTY, &dps);
|
r = ioctl(fd, FE_GET_PROPERTY, &dps);
|
||||||
if (r < 0)
|
if (r < 0) {
|
||||||
|
dbgprintf(DEBUG_DVB, "Could not get delsys, error=%d\n", errno);
|
||||||
return -1;
|
return -1;
|
||||||
|
}
|
||||||
for (i = 0; i < dp[0].u.buffer.len; i++) {
|
for (i = 0; i < dp[0].u.buffer.len; i++) {
|
||||||
ds = dp[0].u.buffer.data[i];
|
ds = dp[0].u.buffer.data[i];
|
||||||
dbgprintf(DEBUG_DVB, "delivery system %d\n", ds);
|
dbgprintf(DEBUG_DVB, "delivery system %d\n", ds);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user