Small bug in UHD Source corrected

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@187 64b25241-fba3-4117-9849-534c7e92360d
This commit is contained in:
Javier Arribas 2012-03-16 14:01:14 +00:00
parent 5340adad36
commit ddb5b0ebba
2 changed files with 4 additions and 1 deletions

View File

@ -39,6 +39,8 @@ SignalSource.repeat=false
;#dump: Dump the Signal source data to a file. Disable this option in this version
SignalSource.dump=false
SignalSource.dump_filename=../data/SignalSource.dat
;#enable_throttle_control: Enabling this option tells the signal source to keep the delay between samples in post processing.
; it helps to not overload the CPU, but the processing time will be longer.
SignalSource.enable_throttle_control=false
@ -65,7 +67,7 @@ InputFilter.implementation=Pass_Through
InputFilter.dump=false
;#dump_filename: Log path and filename.
InputFilter.dump=../data/input_filter.dat
InputFilter.dump_filename=../data/input_filter.dat
;#The following options are used in the filter design of Fir_Filter implementation.
;#These options are based on parameters of gnuradio's function: gr_remez.

View File

@ -84,6 +84,7 @@ UhdSignalSource::UhdSignalSource(ConfigurationInterface* configuration,
}
else if (item_type_.compare("gr_complex") == 0)
{
item_size_ = sizeof(gr_complex);
// 1. Make the uhd driver instance
//uhd_source_= uhd::usrp::multi_usrp::make(dev_addr);