Demo: Convert white spaces to dashes for walking one/zero pattern

This commit is contained in:
Soeren Apel 2017-05-27 23:34:09 +02:00 committed by Uwe Hermann
parent c5d081f721
commit 77463bd397
1 changed files with 3 additions and 2 deletions

View File

@ -36,12 +36,13 @@
#define DEFAULT_ENABLED_ANALOG_CHANNELS 4 #define DEFAULT_ENABLED_ANALOG_CHANNELS 4
#define DEFAULT_ANALOG_AMPLITUDE 10 #define DEFAULT_ANALOG_AMPLITUDE 10
/* Note: No spaces allowed because of sigrok-cli. */
static const char *logic_pattern_str[] = { static const char *logic_pattern_str[] = {
"sigrok", "sigrok",
"random", "random",
"incremental", "incremental",
"walking one", "walking-one",
"walking zero", "walking-zero",
"all-low", "all-low",
"all-high", "all-high",
"squid", "squid",