diff options
author | Josh Blum <josh@joshknows.com> | 2010-09-23 18:07:31 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-09-23 18:07:31 -0700 |
commit | f97c4338458a965502d73903983ae5a3ceeebd53 (patch) | |
tree | 7f0434c764749868ef24e347bde6e9b7238434fc /host/lib/usrp/usrp1/usrp1_ctrl.cpp | |
parent | 1826421cd428f795b4b8cd0acdad4fea92262f72 (diff) | |
download | uhd-f97c4338458a965502d73903983ae5a3ceeebd53.tar.gz uhd-f97c4338458a965502d73903983ae5a3ceeebd53.tar.bz2 uhd-f97c4338458a965502d73903983ae5a3ceeebd53.zip |
usrp1: fixes to remove warnings and errors for usrp1 + libusb windows
Diffstat (limited to 'host/lib/usrp/usrp1/usrp1_ctrl.cpp')
-rw-r--r-- | host/lib/usrp/usrp1/usrp1_ctrl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp1/usrp1_ctrl.cpp b/host/lib/usrp/usrp1/usrp1_ctrl.cpp index 451129ef5..936ffd17d 100644 --- a/host/lib/usrp/usrp1/usrp1_ctrl.cpp +++ b/host/lib/usrp/usrp1/usrp1_ctrl.cpp @@ -287,7 +287,7 @@ public: int usrp_load_eeprom(std::string filestring) { const char *filename = filestring.c_str(); - const uint16_t i2c_addr = 0x50; + const boost::uint16_t i2c_addr = 0x50; //FIXME: verify types int len; @@ -416,7 +416,7 @@ public: } - int usrp_control_write_cmd(uint8_t request, uint16_t value, uint16_t index) + int usrp_control_write_cmd(boost::uint8_t request, boost::uint16_t value, boost::uint16_t index) { return usrp_control_write(request, value, index, 0, 0); } |