mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
print used devices
This commit is contained in:
parent
b3806c61ce
commit
08a6d78da7
@ -91,6 +91,7 @@ void *get_ts(void *a)
|
|||||||
if (!buf)
|
if (!buf)
|
||||||
return NULL;
|
return NULL;
|
||||||
sprintf(fname, "/dev/dvb/adapter%u/ci%u", adapter, device);
|
sprintf(fname, "/dev/dvb/adapter%u/ci%u", adapter, device);
|
||||||
|
printf("using %s for reading\n", fname);
|
||||||
fdi = open(fname, O_RDONLY);
|
fdi = open(fname, O_RDONLY);
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
@ -122,6 +123,7 @@ int send(void)
|
|||||||
if (!buf)
|
if (!buf)
|
||||||
return -1;
|
return -1;
|
||||||
sprintf(fname, "/dev/dvb/adapter%u/ci%u", adapter, device);
|
sprintf(fname, "/dev/dvb/adapter%u/ci%u", adapter, device);
|
||||||
|
printf("using %s for writing\n", fname);
|
||||||
fdo=open(fname, O_WRONLY);
|
fdo=open(fname, O_WRONLY);
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user