X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Funi-t-ut32x%2Fapi.c;h=47211fa41ff0aee622efbfd08f30b7173f286daa;hb=f0e6b41f7a11daaef1ed0783c25768ad90b1a765;hp=fe5435035e9c202b3c77077b807d24c7b35eb295;hpb=9e111972465bc094edf571e9426ffb3f8895655e;p=libsigrok.git diff --git a/src/hardware/uni-t-ut32x/api.c b/src/hardware/uni-t-ut32x/api.c index fe543503..47211fa4 100644 --- a/src/hardware/uni-t-ut32x/api.c +++ b/src/hardware/uni-t-ut32x/api.c @@ -36,6 +36,15 @@ static const uint32_t devopts[] = { SR_CONF_DATA_SOURCE | SR_CONF_GET | SR_CONF_SET | SR_CONF_LIST, }; +/* + * BEWARE! "T1-T2" looks like a range, and is probably not a good + * channel name. Using it in sigrok-cli -C specs is troublesome. Use + * "delta" instead? -- But OTOH channels are not selected by the + * software. Instead received packets just reflect the one channel + * that manually was selected by the user via the device's buttons. + * So the name is not a blocker, and it matches the labels on the + * device and in the manual. So we can get away with it. + */ static const char *channel_names[] = { "T1", "T2", "T1-T2", };