]> sigrok.org Git - libsigrok.git/commit
sr: move SR_HWOPT into its own enum, and create struct sr_hwopt
authorBert Vermeulen <redacted>
Sun, 8 Jul 2012 12:56:54 +0000 (14:56 +0200)
committerBert Vermeulen <redacted>
Fri, 3 Aug 2012 08:27:37 +0000 (10:27 +0200)
commitb159add3d9e3804f7806e82b01374fa099610668
treedcd6a489de46af18b28ccad2b173a6512af99773
parent633b2fac75c59c550cb1245cb75caa3ceef57b3d
sr: move SR_HWOPT into its own enum, and create struct sr_hwopt

SR_HWOPT_* entries are driver options, not device instance parameters, so
they will never be mixed together.

Also, driver options are always passed in a GSList, where the data field
is a struct sr_hwopt.
hwdriver.c
libsigrok.h