mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-31 18:26:14 +02:00
DFU: fix detect -> bypass bitstream
This commit is contained in:
+2
-1
@@ -346,7 +346,8 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
try {
|
||||
dfu = new DFU(args.bit_file, vid, pid, altsetting, args.verbose);
|
||||
dfu = new DFU(args.bit_file, args.detect, vid, pid, altsetting,
|
||||
args.verbose);
|
||||
} catch (std::exception &e) {
|
||||
printError("DFU init failed with: " + string(e.what()));
|
||||
return EXIT_FAILURE;
|
||||
|
||||
Reference in New Issue
Block a user