Revision bba95712
| b/gr-uhd/apps/uhd_siggen.py | ||
|---|---|---|
| 101 | 101 |
if(options.spec): |
| 102 | 102 |
self._u.set_subdev_spec(options.spec, 0) |
| 103 | 103 |
|
| 104 |
# Set the gain on the usrp from options |
|
| 105 |
if(options.gain): |
|
| 106 |
self._u.set_gain(options.gain) |
|
| 107 |
|
|
| 104 | 108 |
# Set the antenna |
| 105 | 109 |
if(options.antenna): |
| 106 | 110 |
self._u.set_antenna(options.antenna, 0) |
Also available in: Unified diff