]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/cem-dt-885x/protocol.c
Constify a few arrays and variables.
[libsigrok.git] / src / hardware / cem-dt-885x / protocol.c
index bbb1a03a0b1a935af36bc59c011d93341f702899..00dbd0c447f2bc595e7de4f672250aa1de046594 100644 (file)
@@ -21,7 +21,7 @@
 #include "protocol.h"
 
 /* Length of expected payload for each token. */
-static int token_payloads[][2] = {
+static const int token_payloads[][2] = {
        { TOKEN_WEIGHT_TIME_FAST, 0 },
        { TOKEN_WEIGHT_TIME_SLOW, 0 },
        { TOKEN_HOLD_MAX, 0 },