summaryrefslogtreecommitdiff
path: root/host/libubertooth
diff options
context:
space:
mode:
authorDominic Spill <dominicgs@gmail.com>2015-09-03 18:14:01 +0100
committerDominic Spill <dominicgs@gmail.com>2015-09-03 18:14:01 +0100
commitceabac141cf5f2f89b7d5ec059eb2458186ebd12 (patch)
treef03f967ed979afe874f3a796904ba08bbdd17ae3 /host/libubertooth
parente764888cdd9a032f93f61174ec23dd2bc4c9fe54 (diff)
Remove 150 limit on RSSI values
Diffstat (limited to 'host/libubertooth')
-rw-r--r--host/libubertooth/src/ubertooth.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/host/libubertooth/src/ubertooth.c b/host/libubertooth/src/ubertooth.c
index e426bb6..a7acd57 100644
--- a/host/libubertooth/src/ubertooth.c
+++ b/host/libubertooth/src/ubertooth.c
@@ -856,7 +856,6 @@ int specan(struct libusb_device_handle* devh, int xfer_size, u16 num_blocks,
fprintf(stderr, "rx block timestamp %u * 100 nanoseconds\n", time);
for (j = PKT_LEN * i + SYM_OFFSET; j < PKT_LEN * i + 62; j += 3) {
frequency = (buffer[j] << 8) | buffer[j + 1];
- if (buffer[j + 2] > 150) { /* FIXME */
switch(output_mode) {
case SPECAN_FILE:
k = 3 * (frequency-low_freq);
@@ -881,7 +880,6 @@ int specan(struct libusb_device_handle* devh, int xfer_size, u16 num_blocks,
return -1;
break;
}
- }
if(frequency == high_freq) {
if(output_mode == SPECAN_GNUPLOT_NORMAL ||
output_mode == SPECAN_GNUPLOT_3D)