]> sigrok.org Git - libsigrok.git/commitdiff
Demo: Convert white spaces to dashes for walking one/zero pattern
authorSoeren Apel <redacted>
Sat, 27 May 2017 21:34:09 +0000 (23:34 +0200)
committerUwe Hermann <redacted>
Sun, 28 May 2017 12:19:22 +0000 (14:19 +0200)
src/hardware/demo/api.c

index 29fadf5c601af393f02b540d032e6a32ded45276..9c1b7c4466590a7975565b3652e46f7ab6b1dfe8 100644 (file)
 #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",