]> sigrok.org Git - libsigrok.git/commitdiff
kingst-la2016: rename logic channels to match product's labels
authorGerhard Sittig <redacted>
Mon, 24 Jan 2022 20:11:35 +0000 (21:11 +0100)
committerGerhard Sittig <redacted>
Sun, 6 Feb 2022 17:53:53 +0000 (18:53 +0100)
Rename the logic channels to "CH0" to "CH15". To match the labels on the
cover of the device which users will be expecting to see in applications.
Which also happens to match the vendor's software and user manual.

src/hardware/kingst-la2016/api.c

index 0b8bc1a59b40cf63aef9d10caddef6206ef65c84..45262c1eb48bae88475e352df40499da9a7f26d6 100644 (file)
@@ -61,8 +61,8 @@ static const int32_t trigger_matches[] = {
 };
 
 static const char *channel_names[] = {
-       "0", "1", "2", "3", "4", "5", "6", "7",
-       "8", "9", "10", "11", "12", "13", "14", "15",
+       "CH0", "CH1", "CH2", "CH3", "CH4", "CH5", "CH6", "CH7",
+       "CH8", "CH9", "CH10", "CH11", "CH12", "CH13", "CH14", "CH15",
 };
 
 static const uint64_t samplerates_la2016[] = {