saleae-logic16: Downgrade error during capture to a message.
Some clone doesn't set this to the exact same value, and both bits in 0x48 are marked as unknown at http://sigrok.org/wiki/Saleae_Logic16/Firmware#FPGA_variables This fixes bug #466.
This commit is contained in:
parent
372c041bd8
commit
cd3c4df35a
|
@ -499,8 +499,8 @@ SR_PRIV int logic16_setup_acquisition(const struct sr_dev_inst *sdi,
|
|||
return ret;
|
||||
|
||||
if (devc->fpga_variant == FPGA_VARIANT_ORIGINAL && reg1 != 0x48) {
|
||||
sr_dbg("Invalid state at acquisition setup: 0x%02x != 0x48.", reg1);
|
||||
return SR_ERR;
|
||||
sr_dbg("Invalid state at acquisition setup: 0x%02x != 0x48. "
|
||||
"Proceeding anyway.", reg1);
|
||||
}
|
||||
|
||||
if ((ret = read_fpga_register(sdi, 10, ®10)) != SR_OK)
|
||||
|
|
Loading…
Reference in New Issue