From: Gerhard Sittig Date: Thu, 16 Mar 2023 01:31:37 +0000 (+0100) Subject: rdtech-tc: use literal string for poll command instead of array X-Git-Url: https://sigrok.org/gitweb/?a=commitdiff_plain;ds=inline;h=f7c74c7fa50536bff621343d552f875570a81ef9;hp=f7c74c7fa50536bff621343d552f875570a81ef9;p=libsigrok.git rdtech-tc: use literal string for poll command instead of array Use a char pointer for the poll command which is a string literal. Which eliminates the "necessity" to strip the NUL terminator from an array after its construction. The strlen() for literals also gets resolved at compile time. Which means that execution cost remains identical. Rename the variable to lower case, it's not a preprocessor symbol. ---