summaryrefslogtreecommitdiffstats
path: root/test/usrp_dboard_test.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-01-29 00:24:15 -0800
committerJosh Blum <josh@joshknows.com>2010-01-29 00:24:15 -0800
commit30a8d2ecc36ce8ad6c01032e514ac66a277f06d0 (patch)
tree894b16a38d02c677ab2038932838064edc325ab4 /test/usrp_dboard_test.cpp
parentd5d9da3114bf069c05a8dcb7fca32ccd70405512 (diff)
downloaduhd-30a8d2ecc36ce8ad6c01032e514ac66a277f06d0.tar.gz
uhd-30a8d2ecc36ce8ad6c01032e514ac66a277f06d0.tar.bz2
uhd-30a8d2ecc36ce8ad6c01032e514ac66a277f06d0.zip
Added dboard id enum.
Moved timespec into its own header.
Diffstat (limited to 'test/usrp_dboard_test.cpp')
-rw-r--r--test/usrp_dboard_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/usrp_dboard_test.cpp b/test/usrp_dboard_test.cpp
index d297c26ab..9b5bf7985 100644
--- a/test/usrp_dboard_test.cpp
+++ b/test/usrp_dboard_test.cpp
@@ -33,7 +33,7 @@ BOOST_AUTO_TEST_CASE(test_manager){
interface::sptr ifc0(new dummy_interface());
std::cout << "Making a usrp dboard manager..." << std::endl;
- manager::sptr mgr0(new manager(0x0001, 0x0000, ifc0)); //basic rx, basic tx
+ manager::sptr mgr0(new manager(ID_BASIC_RX, ID_BASIC_TX, ifc0));
std::cout << "Testing the dboard manager..." << std::endl;
BOOST_CHECK_EQUAL(size_t(3), mgr0->get_rx_subdev_names().size());