sr/cli: s/patternmode/pattern/ in a few places.
This commit is contained in:
parent
ebc3473882
commit
eb0a373189
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue