diff options
author | Josh Blum <josh@joshknows.com> | 2010-09-30 10:07:13 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-09-30 10:07:13 -0700 |
commit | 04c74a3c74907e55e339f1568a1d5b4cdf190daf (patch) | |
tree | 647ba2fbcd4838f83276b2a662126d9f72cd5626 /host/lib/usrp/usrp1/usrp1_iface.hpp | |
parent | b8e62bb9bf86d4804defe738b2a7140cd9417a6f (diff) | |
download | uhd-04c74a3c74907e55e339f1568a1d5b4cdf190daf.tar.gz uhd-04c74a3c74907e55e339f1568a1d5b4cdf190daf.tar.bz2 uhd-04c74a3c74907e55e339f1568a1d5b4cdf190daf.zip |
usrp1: replace byteswap with htonx (it was wrong to just swap)
also removed unused poke and peek 16 bit calls
Diffstat (limited to 'host/lib/usrp/usrp1/usrp1_iface.hpp')
-rw-r--r-- | host/lib/usrp/usrp1/usrp1_iface.hpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/host/lib/usrp/usrp1/usrp1_iface.hpp b/host/lib/usrp/usrp1/usrp1_iface.hpp index 9a3fdd6bc..3f608584a 100644 --- a/host/lib/usrp/usrp1/usrp1_iface.hpp +++ b/host/lib/usrp/usrp1/usrp1_iface.hpp @@ -54,20 +54,6 @@ public: virtual boost::uint32_t peek32(boost::uint32_t addr) = 0; /*! - * Write a register (16 bits) - * \param addr the address - * \param data the 16bit data - */ - virtual void poke16(boost::uint32_t addr, boost::uint16_t data) = 0; - - /*! - * read a register (16 bits) - * \param addr the address - * \return the 16bit data - */ - virtual boost::uint16_t peek16(boost::uint32_t addr) = 0; - - /*! * Perform an spi transaction. * \param which_slave the slave device number * \param config spi config args |