diff options
author | Jason Abele <jason@ettus.com> | 2010-06-03 14:35:18 -0700 |
---|---|---|
committer | Johnathan Corgan <jcorgan@corganenterprises.com> | 2010-06-04 22:38:39 -0700 |
commit | aff599e832ba40fcd6b2a102762065dac37610b1 (patch) | |
tree | 61fa4cef972eb1e961bfe9df9829c729b5145fa4 /host/include | |
parent | 87bbd984a527be1677f4f676e853a8b92ce48278 (diff) |
Refactor WBX and adf4350 to avoid passing usrp pointer
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/usrp/db_wbxng.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/host/include/usrp/db_wbxng.h b/host/include/usrp/db_wbxng.h index 7f88c85..9a78292 100644 --- a/host/include/usrp/db_wbxng.h +++ b/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; }; // ---------------------------------------------------------------- |