From 33ed0ec27c4e339f95a4327be4dbb36aaef76497 Mon Sep 17 00:00:00 2001 From: drmocm Date: Sat, 16 Sep 2023 15:00:27 +0200 Subject: [PATCH] more stuff --- apps/modtest.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/apps/modtest.c b/apps/modtest.c index 021f03c..6282ff9 100644 --- a/apps/modtest.c +++ b/apps/modtest.c @@ -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);