]> sigrok.org Git - pulseview.git/commitdiff
Signal: Add missing item separator in channel names list
authorGerhard Sittig <redacted>
Mon, 21 Nov 2022 13:20:53 +0000 (14:20 +0100)
committerGerhard Sittig <redacted>
Mon, 21 Nov 2022 13:21:41 +0000 (14:21 +0100)
The SCL item in the ChannelNames[] table lacked the separator, which
made it "run into" the next item (preprocessor string concatenation).
Add the missing separator.

This amends commits 9e40e83daf6a (which introduced the lack of the
separator while it did not take effect yet) and 7d5a9c3e79cb (which
made it take effect when items got added and rearranged).

Reported-By: Dominik Sliwa <redacted>
pv/views/trace/signal.cpp

index cda9a4a4f314bab36bd118bc813a2fdb5706351b..8840825c2fe2c08cba62cc646a162176b6a49b76 100644 (file)
@@ -51,7 +51,7 @@ const char *const ChannelNames[] = {
        "TX",
        "RX",
        "SDA",
-       "SCL"
+       "SCL",
        "SCLK",
        "MOSI",
        "MISO",