diff options
author | Nick Foster <nick@nerdnetworks.org> | 2010-08-10 15:26:21 -0700 |
---|---|---|
committer | Nick Foster <nick@nerdnetworks.org> | 2010-08-16 17:29:22 -0700 |
commit | f89f7476a1c3452511d54ec6839f574a7a37c0fe (patch) | |
tree | 65c396bf0a20df08cbc6e42ed9d532d1b3fd61d0 /host/lib/usrp/usrp2/fw_common.h | |
parent | 38b6482e254c1b048bb724653d95f5630f92e279 (diff) | |
download | uhd-f89f7476a1c3452511d54ec6839f574a7a37c0fe.tar.gz uhd-f89f7476a1c3452511d54ec6839f574a7a37c0fe.tar.bz2 uhd-f89f7476a1c3452511d54ec6839f574a7a37c0fe.zip |
Brought in changes to SPI to match up with parallel branch so they share a common protocol.
Diffstat (limited to 'host/lib/usrp/usrp2/fw_common.h')
-rw-r--r-- | host/lib/usrp/usrp2/fw_common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/usrp2/fw_common.h b/host/lib/usrp/usrp2/fw_common.h index a781c1a21..85d41d57f 100644 --- a/host/lib/usrp/usrp2/fw_common.h +++ b/host/lib/usrp/usrp2/fw_common.h @@ -104,12 +104,12 @@ typedef struct{ union{ __stdint(uint32_t) ip_addr; struct { - __stdint(uint8_t) dev; + __stdint(uint32_t) dev; + __stdint(uint32_t) data; __stdint(uint8_t) miso_edge; __stdint(uint8_t) mosi_edge; - __stdint(uint8_t) readback; - __stdint(uint32_t) data; __stdint(uint8_t) num_bits; + __stdint(uint8_t) readback; } spi_args; struct { __stdint(uint8_t) addr; |