On Fri, Mar 25, 2011 at 01:29:22AM +0100, Martin Stensgård wrote:
> When no firmware file is found, return the right error code so Sigrok doesn't
> continue running with no firmware loaded.

Thanks, merged with small changes.


>               set_samplerate(sdi, SR_KHZ(200));

Somehow the "ret = " part has gone missing here, added it back.


> +             if (ret == SR_ERR)

I changed this to "!= SR_OK" so it also catches other (potential) errors
than SR_ERR, I hope this didn't break the fix.


Uwe.
-- 
http://hermann-uwe.de     | http://sigrok.org
http://randomprojects.org | http://unmaintained-free-software.org

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to