From: Soeren Apel Date: Sat, 27 May 2017 21:34:09 +0000 (+0200) Subject: Demo: Convert white spaces to dashes for walking one/zero pattern X-Git-Tag: libsigrok-0.5.0~26 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=77463bd397127b8a4e7266e601b4cdf87825beeb;p=libsigrok.git Demo: Convert white spaces to dashes for walking one/zero pattern --- diff --git a/src/hardware/demo/api.c b/src/hardware/demo/api.c index 29fadf5c..9c1b7c44 100644 --- a/src/hardware/demo/api.c +++ b/src/hardware/demo/api.c @@ -36,12 +36,13 @@ #define DEFAULT_ENABLED_ANALOG_CHANNELS 4 #define DEFAULT_ANALOG_AMPLITUDE 10 +/* Note: No spaces allowed because of sigrok-cli. */ static const char *logic_pattern_str[] = { "sigrok", "random", "incremental", - "walking one", - "walking zero", + "walking-one", + "walking-zero", "all-low", "all-high", "squid",