diff options
author | jcorgan | 2009-02-04 23:06:02 +0000 |
---|---|---|
committer | jcorgan | 2009-02-04 23:06:02 +0000 |
commit | 9b388ac1184c71449c49fb44551c5c38f8098d8e (patch) | |
tree | 619f89d81e2030a831063415c29d78c739e47c1c /usrp2/firmware/lib/db_base.h | |
parent | 68282b6ffed904bb55700314a600fe5d731dd0ea (diff) | |
download | gnuradio-9b388ac1184c71449c49fb44551c5c38f8098d8e.tar.gz gnuradio-9b388ac1184c71449c49fb44551c5c38f8098d8e.tar.bz2 gnuradio-9b388ac1184c71449c49fb44551c5c38f8098d8e.zip |
Merged r10383:10390 from jcorgan/u2-wip into trunk.
* Implements daughterboard independent LO offset tuning
* Removes RFX specific LO offset code
* Adds 'set_lo_offset' to libusrp2 and Python API
* Adds --lo-offset to usrp2_fft.py and usrp2_rx_cfile.py
* Ensures daughterboards are reset to default values at
startup.
Trunk passes distcheck.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10392 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'usrp2/firmware/lib/db_base.h')
-rw-r--r-- | usrp2/firmware/lib/db_base.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usrp2/firmware/lib/db_base.h b/usrp2/firmware/lib/db_base.h index 9b5ce051f..2ccfbf509 100644 --- a/usrp2/firmware/lib/db_base.h +++ b/usrp2/firmware/lib/db_base.h @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2008 Free Software Foundation, Inc. + * Copyright 2008,2009 Free Software Foundation, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -43,7 +43,8 @@ struct db_base { u2_fxpt_gain_t gain_max; //< max gain that can be set (dB) u2_fxpt_gain_t gain_step_size; //< (dB) - // u2_fxpt_freq_t lo_offset; + u2_fxpt_freq_t default_lo_offset; //< offset to add to tune frequency, reset value + u2_fxpt_freq_t current_lo_offset; //< current value of lo_offset /* * Auto T/R control values |