mirror of
https://github.com/brmlab/kalibrate-rtl.git
synced 2025-08-01 21:53:37 +02:00
initialize value of currently tunned freqency at start
This commit is contained in:
parent
aae11c8a8d
commit
3522323ea7
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,7 @@ usrp_source::usrp_source(float sample_rate, long int fpga_master_clock_freq) {
|
|||
|
||||
m_fpga_master_clock_freq = fpga_master_clock_freq;
|
||||
m_desired_sample_rate = sample_rate;
|
||||
m_center_freq = 0.0;
|
||||
m_sample_rate = 0.0;
|
||||
m_decimation = 0;
|
||||
m_cb = new circular_buffer(CB_LEN, sizeof(complex), 0);
|
||||
|
@ -61,6 +62,7 @@ usrp_source::usrp_source(float sample_rate, long int fpga_master_clock_freq) {
|
|||
usrp_source::usrp_source(unsigned int decimation, long int fpga_master_clock_freq) {
|
||||
|
||||
m_fpga_master_clock_freq = fpga_master_clock_freq;
|
||||
m_center_freq = 0.0;
|
||||
m_sample_rate = 0.0;
|
||||
m_cb = new circular_buffer(CB_LEN, sizeof(complex), 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue