Skip to content

Commit a2ee026

Browse files
rotormanpfeerick
authored andcommitted
Fixes DFU-Util "Unexpected argument" error
Tested under Ubuntu 20.04.1 with dfu-util v0.11
1 parent f9ad0af commit a2ee026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

companion/src/radiointerface.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ QStringList getDfuArgs(const QString & cmd, const QString & filename)
5050
if (cmd == "-U")
5151
args.last().append(":" % QString::number(Boards::getFlashSize(getCurrentBoard())));
5252
args << "--device" << "0483:df11";
53-
args << "" << cmd % filename;
53+
args << cmd % filename;
5454
return args;
5555
}
5656

0 commit comments

Comments
 (0)