aboutsummaryrefslogtreecommitdiffstats
path: root/grc
diff options
context:
space:
mode:
authorDimitri Stolnikov <horiz0n@gmx.net>2012-05-05 15:00:35 +0200
committerDimitri Stolnikov <horiz0n@gmx.net>2012-05-05 15:00:35 +0200
commit47734f299d7579f6b6e77e04b0e99b27c2cd5a99 (patch)
tree961e1df91086932a86e9626c247ddac1177a4cdb /grc
parentce6fc94da327019a0d45c49c41f4c3f0f0c0218e (diff)
use manual gain mode by default
Diffstat (limited to 'grc')
-rw-r--r--grc/gen_osmosdr_blocks.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/grc/gen_osmosdr_blocks.py b/grc/gen_osmosdr_blocks.py
index 5f1298d..901d9e4 100644
--- a/grc/gen_osmosdr_blocks.py
+++ b/grc/gen_osmosdr_blocks.py
@@ -131,7 +131,8 @@ Overall gain of the device's signal path. For the gain setting to apply the
manual gain mode must be enabled first for some devices (namely rtlsdr).
Gain Mode:
-Chooses between the automatic (default) and manual gain mode where appropriate.
+Chooses between the manual (default) and automatc gain mode where appropriate.
+Currently, only rtlsdr devices support automatic gain mode.
Antenna:
For devices with only one antenna, this may be left blank.
@@ -172,13 +173,13 @@ PARAMS_TMPL = """
<type>enum</type>
<hide>\#if \$nchan() > $n then 'none' else 'all'#</hide>
<option>
- <name>Auto</name>
- <key>0</key>
- </option>
- <option>
<name>Manual</name>
<key>1</key>
</option>
+ <option>
+ <name>Auto</name>
+ <key>0</key>
+ </option>
</param>
<param>
<name>Ch$(n): Antenna</name>