libsigrok/hardware/colead-slm
Uwe Hermann c0eea11c45 sr_driver_init(): Improve checks.
Check the relevant arguments for != NULL before calling the actual
driver-specific function, so that the driver can safely assume those
arguments are non-NULL. This removes the need to duplicate these
checks in every driver.

Also, change one SR_ERR to the more correct SR_ERR_MALLOC, and assign
sr_ctx in the rigol-ds1xx2's hw_init() function, like all the other
drivers do.
2013-01-29 12:56:02 +01:00
..
Makefile.am colead-slm: Initial driver skeleton. 2012-11-02 15:24:30 +01:00
api.c sr_driver_init(): Improve checks. 2013-01-29 12:56:02 +01:00
protocol.c Always interleave analog data with all enabled probes. 2013-01-23 03:40:44 +01:00
protocol.h colead-slm: use new serial API 2012-11-12 02:54:10 +01:00