diff options
author | Ben Hilburn <ben.hilburn@ettus.com> | 2014-05-21 11:56:07 -0700 |
---|---|---|
committer | Ben Hilburn <ben.hilburn@ettus.com> | 2014-05-21 11:56:07 -0700 |
commit | f2fbcfa30edd32e134a23a1e18079f3e354709f1 (patch) | |
tree | 138a997cd1ebc44eb95f04a2f1716487dad52b98 /host/utils/usrp_n2xx_simple_net_burner.cpp | |
parent | 054a752bb25f9e17c1269b28ad2a95865c0d63a2 (diff) | |
download | uhd-f2fbcfa30edd32e134a23a1e18079f3e354709f1.tar.gz uhd-f2fbcfa30edd32e134a23a1e18079f3e354709f1.tar.bz2 uhd-f2fbcfa30edd32e134a23a1e18079f3e354709f1.zip |
Lots of bit-specific type work to fix compilation on older OSes.
Diffstat (limited to 'host/utils/usrp_n2xx_simple_net_burner.cpp')
-rw-r--r-- | host/utils/usrp_n2xx_simple_net_burner.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/host/utils/usrp_n2xx_simple_net_burner.cpp b/host/utils/usrp_n2xx_simple_net_burner.cpp index cecac5588..0234ce6fa 100644 --- a/host/utils/usrp_n2xx_simple_net_burner.cpp +++ b/host/utils/usrp_n2xx_simple_net_burner.cpp @@ -93,20 +93,20 @@ typedef enum { } usrp2_fw_update_id_t; typedef struct { - uint32_t proto_ver; - uint32_t id; - uint32_t seq; + boost::uint32_t proto_ver; + boost::uint32_t id; + boost::uint32_t seq; union { - uint32_t ip_addr; - uint32_t hw_rev; + boost::uint32_t ip_addr; + boost::uint32_t hw_rev; struct { - uint32_t flash_addr; - uint32_t length; - uint8_t data[256]; + boost::uint32_t flash_addr; + boost::uint32_t length; + boost::uint8_t data[256]; } flash_args; struct { - uint32_t sector_size_bytes; - uint32_t memory_size_bytes; + boost::uint32_t sector_size_bytes; + boost::uint32_t memory_size_bytes; } flash_info_args; } data; } usrp2_fw_update_data_t; |