sr/cli: s/patternmode/pattern/ in a few places.

This commit is contained in:
Uwe Hermann 2012-03-20 18:09:18 +01:00
parent ebc3473882
commit eb0a373189
3 changed files with 4 additions and 4 deletions

View File

@ -210,7 +210,7 @@ static void *hw_dev_info_get(int dev_index, int dev_info_id)
case SR_DI_CUR_SAMPLERATE:
info = &cur_samplerate;
break;
case SR_DI_PATTERNMODES:
case SR_DI_PATTERNS:
info = &pattern_strings;
break;
}

View File

@ -34,7 +34,7 @@
SR_API struct sr_hwcap_option sr_hwcap_options[] = {
{SR_HWCAP_SAMPLERATE, SR_T_UINT64, "Sample rate", "samplerate"},
{SR_HWCAP_CAPTURE_RATIO, SR_T_UINT64, "Pre-trigger capture ratio", "captureratio"},
{SR_HWCAP_PATTERN_MODE, SR_T_CHAR, "Pattern generator mode", "patternmode"},
{SR_HWCAP_PATTERN_MODE, SR_T_CHAR, "Pattern generator mode", "pattern"},
{SR_HWCAP_RLE, SR_T_BOOL, "Run Length Encoding", "rle"},
{0, 0, NULL, NULL},
};

View File

@ -324,8 +324,8 @@ enum {
SR_DI_TRIGGER_TYPES,
/* The currently set samplerate in Hz (uint64_t) */
SR_DI_CUR_SAMPLERATE,
/* Supported pattern generator modes */
SR_DI_PATTERNMODES,
/* Supported patterns (in pattern generator mode) */
SR_DI_PATTERNS,
};
/*