From 0159006c4f3ecc39ec2566e96502c423c2de2a8f Mon Sep 17 00:00:00 2001 From: Ben Hilburn Date: Tue, 10 Sep 2013 17:44:45 -0700 Subject: b200: firmware update changed for FPGA load work --- host/utils/b2xx_fx3_utils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'host/utils') 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 #include +#include 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::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. */ -- cgit v1.2.3