changeset 31:06fd2ffee605 matrix_gpio

Fixed command line bug same as per commit 30, just on a different branch
author Giulio Moro <giuliomoro@yahoo.it>
date Mon, 11 May 2015 11:45:03 +0100
parents 6d64ee8c0754
children 83baffda5786
files core/RTAudioCommandLine.cpp
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/core/RTAudioCommandLine.cpp	Sun May 10 01:33:16 2015 +0100
+++ b/core/RTAudioCommandLine.cpp	Mon May 11 11:45:03 2015 +0100
@@ -11,7 +11,7 @@
 #include <getopt.h>
 #include "../include/RTAudio.h"
 #ifndef OPT_PRU_FILE
-#define OPT_PRU_FILE -1
+#define OPT_PRU_FILE 176
 #endif
 
 // Default command-line options for RTAudio
@@ -22,7 +22,7 @@
 	{"use-analog", 1, NULL, 'm'},
 	{"use-digital-gpio", 1, NULL, 'g'},
 	{"analog-channels", 1, NULL, 'C'},
-	{"digital-gpio-channels", 1, NULL, 'G'},
+	{"digital-channels", 1, NULL, 'G'},
 	{"mute-speaker", 1, NULL, 'M'},
 	{"dac-level", 1, NULL, 'D'},
 	{"adc-level", 1, NULL, 'A'},
@@ -192,8 +192,8 @@
 	std::cerr << "   --use-analog [-m] val:           Set whether to use ADC/DAC analog (default: yes)\n";
 	std::cerr << "   --use-gpio-analog [-g] val:      Set whether to use GPIO analog (default: yes)\n";
 	std::cerr << "   --analog-channels [-C] val:      Set the number of ADC/DAC channels (default: 8)\n";
-	std::cerr << "   --analog-gpio-channels [-G] val: Set the number of GPIO channels (default: 16)\n";
-	std::cerr << "   --pru-file val:             Set an optional external file to use for the PRU binary code\n";
+	std::cerr << "   --digital-channels [-G] val:     Set the number of GPIO channels (default: 16)\n";
+	std::cerr << "   --pru-file val:                  Set an optional external file to use for the PRU binary code\n";
 	std::cerr << "   --verbose [-v]:                  Enable verbose logging information\n";
 }