discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] typo in usrp2_impl.cpp


From: Gaetano Mendola
Subject: [Discuss-gnuradio] typo in usrp2_impl.cpp
Date: Mon, 20 Jun 2011 14:20:24 +0200

I believe there is a typo in that file (last git version), patch inline.

--- a/host/lib/usrp/usrp2/usrp2_impl.cpp
+++ b/host/lib/usrp/usrp2/usrp2_impl.cpp
@@ -249,7 +249,7 @@ usrp2_impl::usrp2_impl(const device_addr_t &_device_addr){
     //extract the user's requested MTU size or default
     mtu_result_t user_mtu;
     user_mtu.recv_mtu =
size_t(device_addr.cast<double>("recv_frame_size", udp_simple::mtu));
-    user_mtu.send_mtu =
size_t(device_addr.cast<double>("recv_frame_size", udp_simple::mtu));
+    user_mtu.send_mtu =
size_t(device_addr.cast<double>("send_frame_size", udp_simple::mtu));

     try{
         //calculate the minimum send and recv mtu of all devices

-- 
cpp-today.blogspot.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]