add SR_HWCAP_DEMO_DEVICE capability
This commit is contained in:
parent
f020a99773
commit
a141db8c4a
|
@ -79,6 +79,7 @@ struct databag {
|
|||
|
||||
static int capabilities[] = {
|
||||
SR_HWCAP_LOGIC_ANALYZER,
|
||||
SR_HWCAP_DEMO_DEVICE,
|
||||
SR_HWCAP_SAMPLERATE,
|
||||
SR_HWCAP_PATTERN_MODE,
|
||||
SR_HWCAP_LIMIT_SAMPLES,
|
||||
|
|
|
@ -211,6 +211,11 @@ enum {
|
|||
|
||||
/* TODO: SR_HWCAP_SCOPE, SW_HWCAP_PATTERN_GENERATOR, etc.? */
|
||||
|
||||
/*--- Device types --------------------------------------------------*/
|
||||
|
||||
/** The device is demo device. */
|
||||
SR_HWCAP_DEMO_DEVICE,
|
||||
|
||||
/*--- Device options ------------------------------------------------*/
|
||||
|
||||
/** The device supports setting/changing its samplerate. */
|
||||
|
|
Loading…
Reference in New Issue