summaryrefslogtreecommitdiffstats
path: root/src/Utils.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-12-11 16:03:28 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-12-11 16:35:12 +0100
commit9ea7df6030842be17a8ea52e7e659871b33a49bf (patch)
tree91de181d314bb88f48dfd0c38d9d2bf1dfafb620 /src/Utils.cpp
parente181b4b9fed8d811a3d9b22d249a1b939ed9f3f8 (diff)
downloaddabmod-9ea7df6030842be17a8ea52e7e659871b33a49bf.tar.gz
dabmod-9ea7df6030842be17a8ea52e7e659871b33a49bf.tar.bz2
dabmod-9ea7df6030842be17a8ea52e7e659871b33a49bf.zip
Make gainmode VAR the default and update config to accept gainmode identifiers
Diffstat (limited to 'src/Utils.cpp')
-rw-r--r--src/Utils.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Utils.cpp b/src/Utils.cpp
index dd119a7..54a4161 100644
--- a/src/Utils.cpp
+++ b/src/Utils.cpp
@@ -75,11 +75,7 @@ void printUsage(char* progName)
fprintf(out, "-T taps_file: Enable filtering before the output, using the specified file containing the filter taps.\n");
fprintf(out, "-a gain: Apply digital amplitude gain.\n");
fprintf(out, "-c rate: Set the DAC clock rate and enable Cic Equalisation.\n");
- fprintf(out, "-g: Set computation gain mode: "
- "%u FIX, %u MAX, %u VAR\n",
- (unsigned int)GainMode::GAIN_FIX,
- (unsigned int)GainMode::GAIN_MAX,
- (unsigned int)GainMode::GAIN_VAR);
+ fprintf(out, "-g gainmode: Set computation gain mode: fix, max or var\n");
fprintf(out, "-h: Print this help.\n");
fprintf(out, "-l: Loop file when reach end of file.\n");
fprintf(out, "-m mode: Set DAB mode: (0: auto, 1-4: force).\n");