]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/testo/api.c
Constify a few arrays and variables.
[libsigrok.git] / src / hardware / testo / api.c
index da6d171a3ac8c52aedb64c549fb7a395c84eb096..103f44ce49d8c428b85fafc4d0ee92927607ec80 100644 (file)
@@ -36,8 +36,9 @@ static const uint32_t devopts[] = {
        SR_CONF_LIMIT_MSEC | SR_CONF_SET,
 };
 
-unsigned char TESTO_x35_REQUEST[] = { 0x12, 0, 0, 0, 1, 1, 0x55, 0xd1, 0xb7 };
-struct testo_model models[] = {
+static const uint8_t TESTO_x35_REQUEST[] = { 0x12, 0, 0, 0, 1, 1, 0x55, 0xd1, 0xb7 };
+
+static const struct testo_model models[] = {
        { "435", 9, TESTO_x35_REQUEST },
 };