[hamradio-commits] [dump1090] 299/389: Update dump1090.c
Matthew Ernisse
mernisse-guest at moszumanska.debian.org
Wed Nov 5 00:20:07 UTC 2014
This is an automated email from the git hooks/post-receive script.
mernisse-guest pushed a commit to branch master
in repository dump1090.
commit 8110549fee881a0b104b9003618f030d04492b3e
Author: matthewbrandes <matthewb at report4u.net>
Date: Tue Jul 8 15:12:46 2014 -0500
Update dump1090.c
---
dump1090.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dump1090.c b/dump1090.c
index 286fb05..281ac0c 100644
--- a/dump1090.c
+++ b/dump1090.c
@@ -515,7 +515,7 @@ int main(int argc, char **argv) {
int more = j+1 < argc; // There are more arguments
if (!strcmp(argv[j],"--device-index") && more) {
- Modes.dev_index = atoi(argv[++j]);
+ Modes.dev_index = verbose_device_search(argv[++j]);
} else if (!strcmp(argv[j],"--gain") && more) {
Modes.gain = (int) atof(argv[++j])*10; // Gain is in tens of DBs
} else if (!strcmp(argv[j],"--enable-agc")) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/dump1090.git
More information about the pkg-hamradio-commits
mailing list