diff options
author | Josh Blum <josh@joshknows.com> | 2010-08-16 19:51:20 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-08-16 19:51:20 -0700 |
commit | 0541029e4ecd06e840966b4005af316b92eeb9e5 (patch) | |
tree | 8d78c73a451634c7db7c04c861ff3654dc8797f4 /host/lib/usrp/usrp2/usrp2_iface.cpp | |
parent | ef6953024f1075a729e85f2511c75de337879888 (diff) | |
parent | 230368da5c55c0eb587960db50f68e1b618f271c (diff) | |
download | uhd-0541029e4ecd06e840966b4005af316b92eeb9e5.tar.gz uhd-0541029e4ecd06e840966b4005af316b92eeb9e5.tar.bz2 uhd-0541029e4ecd06e840966b4005af316b92eeb9e5.zip |
Merge branch 'premerge'
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_iface.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/usrp2_iface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_iface.cpp b/host/lib/usrp/usrp2/usrp2_iface.cpp index 4124221ef..2d450bfc6 100644 --- a/host/lib/usrp/usrp2/usrp2_iface.cpp +++ b/host/lib/usrp/usrp2/usrp2_iface.cpp @@ -115,7 +115,7 @@ public: //setup the out data usrp2_ctrl_data_t out_data; out_data.id = htonl(USRP2_CTRL_ID_TRANSACT_ME_SOME_SPI_BRO); - out_data.data.spi_args.dev = which_slave; + out_data.data.spi_args.dev = htonl(which_slave); out_data.data.spi_args.miso_edge = spi_edge_to_otw[config.miso_edge]; out_data.data.spi_args.mosi_edge = spi_edge_to_otw[config.mosi_edge]; out_data.data.spi_args.readback = (readback)? 1 : 0; |