more consistent/sane interaction between frontends and hardware plugins
authorBert Vermeulen <bert@biot.com>
Sun, 21 Mar 2010 00:26:53 +0000 (01:26 +0100)
committerBert Vermeulen <bert@biot.com>
Sun, 21 Mar 2010 00:26:53 +0000 (01:26 +0100)
commit76a1acaaeabfe25eea430ccaa07cf518d524f21d
tree2847a578602ecd99411a8ca0a232b33f418f3e33
parent4ebdb66b04a617ec3c2cf513dab92047247d0858
more consistent/sane interaction between frontends and hardware plugins

device-specific options are now defined with a type
new DI type DI_CUR_SAMPLE_RATE
hardware plugin set_configuration() now always uses a void * to pass in the value, with the pointer specific to the capability being set -- no longer always a char *
CLI: --seconds is now --time, expressed in ms (or seconds, with 's' postfix)
backend/hwplugin.c
backend/hwplugin.h
frontend/cli/sigrok-cli.c
hardware/saleae-logic/saleae-logic.c
include/sigrok.h