From: Gerhard Sittig Date: Mon, 24 Jan 2022 20:11:35 +0000 (+0100) Subject: kingst-la2016: rename logic channels to match product's labels X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=da25c28726adb3e77680b26f763389f898cbcb10;p=libsigrok.git kingst-la2016: rename logic channels to match product's labels 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. --- diff --git a/src/hardware/kingst-la2016/api.c b/src/hardware/kingst-la2016/api.c index 0b8bc1a5..45262c1e 100644 --- a/src/hardware/kingst-la2016/api.c +++ b/src/hardware/kingst-la2016/api.c @@ -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[] = {