aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-08-09 18:29:13 -0700
committerJosh Blum <josh@joshknows.com>2010-08-09 18:29:13 -0700
commitf6c3178c7ce7b255c3bcf9ade6d9d61b5de79ae1 (patch)
tree0635d82780e6870cb0a2fd90640a31349368df9d /host/lib/usrp/usrp2/usrp2_impl.cpp
parentb99c2c0417a453b1d9ed3c9d77989ce32db4fd88 (diff)
downloaduhd-f6c3178c7ce7b255c3bcf9ade6d9d61b5de79ae1.tar.gz
uhd-f6c3178c7ce7b255c3bcf9ade6d9d61b5de79ae1.tar.bz2
uhd-f6c3178c7ce7b255c3bcf9ade6d9d61b5de79ae1.zip
usrp2: added fpga compat number, renamed firmware proto version to compat
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.cpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp
index 2c314c085..21f411afe 100644
--- a/host/lib/usrp/usrp2/usrp2_impl.cpp
+++ b/host/lib/usrp/usrp2/usrp2_impl.cpp
@@ -97,7 +97,7 @@ static uhd::device_addrs_t usrp2_find(const device_addr_t &hint){
//send a hello control packet
usrp2_ctrl_data_t ctrl_data_out;
- ctrl_data_out.proto_ver = htonl(USRP2_PROTO_VERSION);
+ ctrl_data_out.proto_ver = htonl(USRP2_FW_COMPAT_NUM);
ctrl_data_out.id = htonl(USRP2_CTRL_ID_WAZZUP_BRO);
udp_transport->send(boost::asio::buffer(&ctrl_data_out, sizeof(ctrl_data_out)));