libsigrok/hardware/demo
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 sr/srd: Remove/fix non-applicable autotools stuff. 2011-12-30 11:14:24 +01:00
demo.c sr_driver_init(): Improve checks. 2013-01-29 12:56:02 +01:00