Fix preamble/slicer dB numbers. Was using power ratios for voltages (2.0 instead of 1.414 for 3dB, etc.). No real performance change.

Fix suggested by Denis Gapotchenko.
This commit is contained in:
Nick Foster
2012-10-13 20:55:45 -07:00
parent 628003fbe6
commit 85da74b43a
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -48,8 +48,8 @@ class mainwindow(QtGui.QMainWindow):
#should round to actual achieved gain
self.ui.line_gain.insert("30")
#default to 3dB
self.ui.line_threshold.insert("3")
#default to 5dB
self.ui.line_threshold.insert("5")
self.ui.prog_rssi.setMinimum(-40)
self.ui.prog_rssi.setMaximum(0)