summaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-06-09 01:05:14 +0000
committerJosh Blum <josh@joshknows.com>2010-06-09 01:05:14 +0000
commitc8e2670b63ec4e7dbec1549dbc452dfeacecf07d (patch)
treedc84777d86444520877a14a0e98b175671fd38a0 /host/lib
parent5f37ee2a44d8201e9b55fab371ab597b365dfd89 (diff)
downloaduhd-c8e2670b63ec4e7dbec1549dbc452dfeacecf07d.tar.gz
uhd-c8e2670b63ec4e7dbec1549dbc452dfeacecf07d.tar.bz2
uhd-c8e2670b63ec4e7dbec1549dbc452dfeacecf07d.zip
usrp-e: switched otw type to little endian (works now)
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/usrp_e/io_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp_e/io_impl.cpp b/host/lib/usrp/usrp_e/io_impl.cpp
index d26f113f5..a94275b78 100644
--- a/host/lib/usrp/usrp_e/io_impl.cpp
+++ b/host/lib/usrp/usrp_e/io_impl.cpp
@@ -156,7 +156,7 @@ size_t usrp_e_impl::send(
otw_type_t send_otw_type;
send_otw_type.width = 16;
send_otw_type.shift = 0;
- send_otw_type.byteorder = otw_type_t::BO_BIG_ENDIAN;
+ send_otw_type.byteorder = otw_type_t::BO_LITTLE_ENDIAN;
return vrt_packet_handler::send(
_io_impl->send_state,
@@ -185,7 +185,7 @@ size_t usrp_e_impl::recv(
otw_type_t recv_otw_type;
recv_otw_type.width = 16;
recv_otw_type.shift = 0;
- recv_otw_type.byteorder = otw_type_t::BO_BIG_ENDIAN;
+ recv_otw_type.byteorder = otw_type_t::BO_LITTLE_ENDIAN;
return vrt_packet_handler::recv(
_io_impl->recv_state,