diff options
author | Jason Abele | 2010-06-03 14:35:18 -0700 |
---|---|---|
committer | Johnathan Corgan | 2010-06-04 22:38:39 -0700 |
commit | 937b74e9f60a2668a6f39f7f5d7291a8e00aef1f (patch) | |
tree | 8c7a66dc5a55d6187c1835bed28d452d315c0511 /usrp/host/include | |
parent | 9004b4524713992660012d7932f6dcace74e54b0 (diff) | |
download | gnuradio-937b74e9f60a2668a6f39f7f5d7291a8e00aef1f.tar.gz gnuradio-937b74e9f60a2668a6f39f7f5d7291a8e00aef1f.tar.bz2 gnuradio-937b74e9f60a2668a6f39f7f5d7291a8e00aef1f.zip |
Refactor WBX and adf4350 to avoid passing usrp pointer
Diffstat (limited to 'usrp/host/include')
-rw-r--r-- | usrp/host/include/usrp/db_wbxng.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usrp/host/include/usrp/db_wbxng.h b/usrp/host/include/usrp/db_wbxng.h index 7f88c850b..9a7829278 100644 --- a/usrp/host/include/usrp/db_wbxng.h +++ b/usrp/host/include/usrp/db_wbxng.h @@ -40,8 +40,9 @@ public: double freq_max(); protected: + void _write_spi(std::string data); int _refclk_divisor(); - bool _lock_detect(); + bool _get_locked(); bool _set_pga(float pga_gain); bool d_first; @@ -50,7 +51,7 @@ protected: int d_power_on; int d_PD; - adf4350 *d_common; + boost::shared_ptr<adf4350> d_common; }; // ---------------------------------------------------------------- |