main: if board has no default cable, don't override potential user choise

This commit is contained in:
Gwenhael Goavec-Merou 2020-10-25 16:51:21 +01:00
parent 739df7c183
commit 5254116ad8
1 changed files with 0 additions and 1 deletions

View File

@ -101,7 +101,6 @@ int main(int argc, char **argv)
/* search for cable */
auto t = cable_list.find(board_list[args.board].cable_name);
if (t == cable_list.end()) {
args.cable = "-";
cout << "Board " << args.board << " has not default cable" << endl;
} else {
if (args.cable[0] == '-') { // no use selection