Default RTL gain of 35 and parser catches negative shifts generated by invalid packets.

This commit is contained in:
Nick Foster
2012-07-16 09:36:15 -07:00
parent 4750d20044
commit c2129e0eab
2 changed files with 10 additions and 2 deletions
+2 -1
View File
@@ -29,6 +29,7 @@ from string import split, join
import air_modes
import gnuradio.gr.gr_threading as _threading
import csv
from air_modes.modes_exceptions import *
class top_block_runner(_threading.Thread):
def __init__(self, tb):
@@ -87,7 +88,7 @@ class adsb_rx_block (gr.top_block):
self.u.set_gain_mode(0) #manual gain mode
if options.gain is None:
options.gain = 49
options.gain = 34
self.u.set_gain(options.gain)
print "Gain is %i" % self.u.get_gain()