stlink_open_usb: remove wrong comment, we do handle protocoll (?) v1 for stlinkv1

pull/918/head
Guillaume Revaillot 2020-04-10 17:26:15 +02:00
rodzic 395eee53df
commit cec61aaea3
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -1027,7 +1027,6 @@ stlink_t *stlink_open_usb(enum ugly_loglevel verbose, bool reset, char serial[ST
}
slu->sg_transfer_idx = 0;
// TODO - never used at the moment, always CMD_SIZE
slu->cmd_len = (slu->protocoll == 1) ? STLINK_SG_SIZE: STLINK_CMD_SIZE;
// Initialize stlink version (sl->version)