1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

increase adapter limit

This commit is contained in:
Stefan Pöschel 2022-12-16 11:29:10 +01:00
parent 979cb7a237
commit 6bb5bcac05

View File

@ -867,7 +867,7 @@ static int scan_dvbfe(struct dddvb *dd)
int a, f, fd; int a, f, fd;
char fname[80]; char fname[80];
for (a = 0; a < 16; a++) { for (a = 0; a < 256; a++) {
for (f = 0; f < 24; f++) { for (f = 0; f < 24; f++) {
sprintf(fname, "/dev/dvb/adapter%d/frontend%d", a, f); sprintf(fname, "/dev/dvb/adapter%d/frontend%d", a, f);
fd = open(fname, O_RDONLY); fd = open(fname, O_RDONLY);