From bdbe6b4f8e9ba8bfd703c6b7e9705ec645c64b78 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 18 Sep 2015 11:35:58 +0200 Subject: Refactor variables and GainMode enum --- src/Utils.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Utils.cpp') 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"); -- cgit v1.2.3