* Fix compilation on Raspbian

* Add rtl-sdr dongle to the RX HW database
This commit is contained in:
Manolis Surligas 2016-10-11 19:39:37 +03:00 committed by GitHub
parent 6e3d8f9c10
commit 63863b5ac1
3 changed files with 6 additions and 3 deletions

View File

@ -20,7 +20,7 @@
########################################################################
# Project setup
########################################################################
cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
project(gr-satnogs CXX C)
enable_testing()

View File

@ -49,7 +49,7 @@ namespace gr
gr::io_signature::make (1, 1, sizeof(gr_complex))),
d_target_freq (target_freq),
d_samp_rate (sampling_rate),
d_buf_items (std::min (8192UL, (size_t) (d_samp_rate / 4))),
d_buf_items (std::min ((size_t)8192UL, (size_t) (d_samp_rate / 4))),
d_freq_diff (0),
d_nco ()
{

View File

@ -44,4 +44,7 @@ hw_rx_settings = {'usrpb200' : {'rf_gain' : 20.0, 'if_gain' : 0.0,
'antenna' : '', 'dev_arg': 'airspy'},
'hackrf' : {'rf_gain' : 20.0, 'if_gain' : 8.0,
'bb_gain' : 5.0, 'samp_rate' : 2e6,
'antenna' : '', 'dev_arg': 'hackrf'} }
'antenna' : '', 'dev_arg': 'hackrf'},
'rtlsdr' : {'rf_gain' : 32.0, 'if_gain' : 0.0,
'bb_gain' : 0.0, 'samp_rate' : 1.024e6,
'antenna' : '', 'dev_arg' : 'rtl'} }