]> sigrok.org Git - libsigrok.git/commitdiff
rdtech-tc: use literal string for poll command instead of array
authorGerhard Sittig <redacted>
Thu, 16 Mar 2023 01:31:37 +0000 (02:31 +0100)
committerGerhard Sittig <redacted>
Thu, 16 Mar 2023 13:29:30 +0000 (14:29 +0100)
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.


No differences found