diff options
author | Ben Hilburn <ben.hilburn@ettus.com> | 2013-09-10 17:44:45 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2013-09-10 17:44:45 -0700 |
commit | 0159006c4f3ecc39ec2566e96502c423c2de2a8f (patch) | |
tree | fd65164cfcd4edd6fd5a586a56114470f503a9ad /host/utils | |
parent | 0184989a5f716d99435409279ce5cd1f78d98544 (diff) | |
download | uhd-0159006c4f3ecc39ec2566e96502c423c2de2a8f.tar.gz uhd-0159006c4f3ecc39ec2566e96502c423c2de2a8f.tar.bz2 uhd-0159006c4f3ecc39ec2566e96502c423c2de2a8f.zip |
b200: firmware update changed for FPGA load work
Diffstat (limited to 'host/utils')
-rw-r--r-- | host/utils/b2xx_fx3_utils.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host/utils/b2xx_fx3_utils.cpp b/host/utils/b2xx_fx3_utils.cpp index c99ce1e01..bdd102681 100644 --- a/host/utils/b2xx_fx3_utils.cpp +++ b/host/utils/b2xx_fx3_utils.cpp @@ -35,6 +35,7 @@ #include <boost/functional/hash.hpp> #include <uhd/config.hpp> +#include <uhd/utils/msg.hpp> const static boost::uint16_t FX3_VID = 0x04b4; const static boost::uint16_t FX3_DEFAULT_PID = 0x00f3; @@ -542,7 +543,7 @@ boost::int32_t main(boost::int32_t argc, char *argv[]) { for(std::set<fs::path>::iterator it = globbed.begin(); it != globbed.end(); ++it) { - std::string file = (*it).string(); + std::string file = (*it).filename().string(); if(file.compare(0, 5, "0000:") == 0) { /* Un-bind the device. */ |