add SR_HWCAP_DEMO_DEVICE capability

This commit is contained in:
Anatoly Sokolov 2012-01-21 18:34:11 +04:00 committed by Bert Vermeulen
parent f020a99773
commit a141db8c4a
2 changed files with 6 additions and 0 deletions

View File

@ -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,

View File

@ -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. */