Skip to content

Commit 4fc0e47

Browse files
committed
fx2lafw: load fx3
1 parent cbf2848 commit 4fc0e47

File tree

1 file changed

+1
-1
lines changed
  • src/hardware/fx2lafw

1 file changed

+1
-1
lines changed

src/hardware/fx2lafw/api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options)
366366
} else {
367367
if (ezusb_upload_firmware(drvc->sr_ctx, devlist[i],
368368
USB_CONFIGURATION, prof->firmware,
369-
FALSE) == SR_OK) {
369+
(prof->dev_caps & DEV_CAPS_FX3) != 0) == SR_OK) {
370370
/* Store when this device's FW was updated. */
371371
devc->fw_updated = g_get_monotonic_time();
372372
} else {

0 commit comments

Comments
 (0)