application: fix cables_issues_nb
This commit is contained in:
parent
a682dc985a
commit
cd9f4e12de
|
@ -471,9 +471,6 @@ static void cable_issues_nb(struct cable_t* cable)
|
|||
cable->connections = NULL;
|
||||
}
|
||||
cable->connections = (uint8_t (*)[2])usb_cables_test_connections(connectors, connectors_nb, true, false, &cable->connections_nb);
|
||||
if (NULL == cable->connections || 0 == cable->connections_nb) {
|
||||
return;
|
||||
}
|
||||
|
||||
// calculate score for cables
|
||||
uint16_t best_score = UINT16_MAX; // best cable score
|
||||
|
|
Loading…
Reference in New Issue