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:
|
case SR_DI_CUR_SAMPLERATE:
|
||||||
info = &cur_samplerate;
|
info = &cur_samplerate;
|
||||||
break;
|
break;
|
||||||
case SR_DI_PATTERNMODES:
|
case SR_DI_PATTERNS:
|
||||||
info = &pattern_strings;
|
info = &pattern_strings;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
SR_API struct sr_hwcap_option sr_hwcap_options[] = {
|
SR_API struct sr_hwcap_option sr_hwcap_options[] = {
|
||||||
{SR_HWCAP_SAMPLERATE, SR_T_UINT64, "Sample rate", "samplerate"},
|
{SR_HWCAP_SAMPLERATE, SR_T_UINT64, "Sample rate", "samplerate"},
|
||||||
{SR_HWCAP_CAPTURE_RATIO, SR_T_UINT64, "Pre-trigger capture ratio", "captureratio"},
|
{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"},
|
{SR_HWCAP_RLE, SR_T_BOOL, "Run Length Encoding", "rle"},
|
||||||
{0, 0, NULL, NULL},
|
{0, 0, NULL, NULL},
|
||||||
};
|
};
|
||||||
|
|
4
sigrok.h
4
sigrok.h
|
@ -324,8 +324,8 @@ enum {
|
||||||
SR_DI_TRIGGER_TYPES,
|
SR_DI_TRIGGER_TYPES,
|
||||||
/* The currently set samplerate in Hz (uint64_t) */
|
/* The currently set samplerate in Hz (uint64_t) */
|
||||||
SR_DI_CUR_SAMPLERATE,
|
SR_DI_CUR_SAMPLERATE,
|
||||||
/* Supported pattern generator modes */
|
/* Supported patterns (in pattern generator mode) */
|
||||||
SR_DI_PATTERNMODES,
|
SR_DI_PATTERNS,
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue