]> sigrok.org Git - libsigrok.git/commit
sr: zeroplus: Use device-specific context.
authorUwe Hermann <redacted>
Sun, 29 Jan 2012 18:14:25 +0000 (19:14 +0100)
committerUwe Hermann <redacted>
Sun, 29 Jan 2012 18:19:38 +0000 (19:19 +0100)
commitbf43ea2317d35a3bc774a9c7e1cf6ff9b6204736
tree58b4343286e51e13e0b514e1ef53a89008bf599a
parentae32d7d759f5722f9d82a2da8ec4bbdebcfd029b
sr: zeroplus: Use device-specific context.

Make the zeroplus driver use a "struct zp" with per-device-instance
data (such as samplerate, trigger settings, and so on), like the other
drivers do.

Also, add a few more error checks.
hardware/zeroplus-logic-cube/zeroplus.c