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

more stuff

This commit is contained in:
drmocm 2023-09-16 15:00:27 +02:00
parent 1ca4a8cea5
commit 33ed0ec27c

View File

@ -934,13 +934,25 @@ int mci_set_channels(int fd, uint32_t freq, uint8_t nchan, uint8_t standard,
snprintf(stand, 24, "MOD_STANDARD_DVBT_5");
break;
case MOD_STANDARD_DVBC_8:
snprintf(stand, 24, "MOD_STANDARD_DVBC_8");
break;
case MOD_STANDARD_DVBC_7:
snprintf(stand, 24, "MOD_STANDARD_DVBC_7");
break;
case MOD_STANDARD_DVBC_6:
snprintf(stand, 24, "MOD_STANDARD_DVBC_6");
break;
default:
fprintf(stderr,"unknown standard in channels setup\n");
return -1;
break;
}
fprintf(stderr,"Setting DVB Modulator channels to %d HZ, %d channels, %s\n",
fprintf(stderr,"Setting DVBT Modulator channels to %d HZ, %d channels, %s\n",
freq, nchan, stand);
return mci_cmd(fd,&msg_channels);