aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_iface.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-04-16 22:10:35 -0700
committerJosh Blum <josh@joshknows.com>2010-04-16 22:10:35 -0700
commit8375ae721cd819b54fae4cc22e76285552033945 (patch)
tree5f2140a4e358d9f5259c617d17316d1a6ee17fdf /host/lib/usrp/usrp2/usrp2_iface.hpp
parent632ca4afbbc2e383b956a7abe8e35ee1020c7306 (diff)
downloaduhd-8375ae721cd819b54fae4cc22e76285552033945.tar.gz
uhd-8375ae721cd819b54fae4cc22e76285552033945.tar.bz2
uhd-8375ae721cd819b54fae4cc22e76285552033945.zip
moved spi and i2c api into serial.hpp, its used for more than the dboard interfacing
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_iface.hpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_iface.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_iface.hpp b/host/lib/usrp/usrp2/usrp2_iface.hpp
index 1298d87f1..6667c8998 100644
--- a/host/lib/usrp/usrp2/usrp2_iface.hpp
+++ b/host/lib/usrp/usrp2/usrp2_iface.hpp
@@ -19,7 +19,7 @@
#define INCLUDED_USRP2_IFACE_HPP
#include <uhd/transport/udp_simple.hpp>
-#include <uhd/usrp/dboard_iface.hpp> //spi config
+#include <uhd/types/serial.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/utility.hpp>
#include <boost/cstdint.hpp>
@@ -87,7 +87,7 @@ public:
*/
virtual boost::uint32_t transact_spi(
int which_slave,
- const uhd::usrp::spi_config_t &config,
+ const uhd::spi_config_t &config,
boost::uint32_t data,
size_t num_bits,
bool readback