aboutsummaryrefslogtreecommitdiffstats
path: root/src/Utils.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-09-18 11:35:58 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-09-18 11:35:58 +0200
commitbdbe6b4f8e9ba8bfd703c6b7e9705ec645c64b78 (patch)
treebab90d6ce402d78a4cd796c2596a72bb43f50feb /src/Utils.cpp
parent8f1d668ddad1bd2c44932b93853282b4eec9eba4 (diff)
downloaddabmod-bdbe6b4f8e9ba8bfd703c6b7e9705ec645c64b78.tar.gz
dabmod-bdbe6b4f8e9ba8bfd703c6b7e9705ec645c64b78.tar.bz2
dabmod-bdbe6b4f8e9ba8bfd703c6b7e9705ec645c64b78.zip
Refactor variables and GainMode enum
Diffstat (limited to 'src/Utils.cpp')
-rw-r--r--src/Utils.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Utils.cpp b/src/Utils.cpp
index 6c9b0fc..1560e07 100644
--- a/src/Utils.cpp
+++ b/src/Utils.cpp
@@ -72,7 +72,10 @@ void printUsage(char* progName)
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", GAIN_FIX, GAIN_MAX, GAIN_VAR);
+ "%u FIX, %u MAX, %u VAR\n",
+ (unsigned int)GainMode::GAIN_FIX,
+ (unsigned int)GainMode::GAIN_MAX,
+ (unsigned int)GainMode::GAIN_VAR);
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");