Don't exit with an error if the FPGA is detected as unsupported.
Just issue a warning with the detected version and continue. I have such
a clone and it works with the original Saleae software and with sigrok
despite the fact that its FPGA version is 0xff.
return ret;
if (version != 0x10 && version != 0x13 && version != 0x40 && version != 0x41) {
- sr_err("Unsupported FPGA version: 0x%02x.", version);
- return SR_ERR;
+ sr_warn("Unsupported FPGA version: 0x%02x.", version);
}
return SR_OK;