From 208c1aa1a370550ca26cf9a2dc52dcc5fe9693e2 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 30 Jun 2011 16:35:22 -0700 Subject: b100: figured it out, endianess was set wrong --- host/lib/usrp/b100/io_impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/usrp/b100') diff --git a/host/lib/usrp/b100/io_impl.cpp b/host/lib/usrp/b100/io_impl.cpp index 894876a7c..3c1acedaf 100644 --- a/host/lib/usrp/b100/io_impl.cpp +++ b/host/lib/usrp/b100/io_impl.cpp @@ -94,12 +94,12 @@ void b100_impl::io_init(void){ //setup rx otw type _rx_otw_type.width = 16; _rx_otw_type.shift = 0; - _rx_otw_type.byteorder = uhd::otw_type_t::BO_BIG_ENDIAN; + _rx_otw_type.byteorder = uhd::otw_type_t::BO_LITTLE_ENDIAN; //setup tx otw type _tx_otw_type.width = 16; _tx_otw_type.shift = 0; - _tx_otw_type.byteorder = uhd::otw_type_t::BO_BIG_ENDIAN; + _tx_otw_type.byteorder = uhd::otw_type_t::BO_LITTLE_ENDIAN; //TODO best place to put this? this->reset_gpif(6); -- cgit v1.2.3