]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/demo/demo.c
Constify a few arrays and variables.
[libsigrok.git] / src / hardware / demo / demo.c
index f3c8bb4a2867f94ec02f3fc905c747d547be1be9..284396a3aeee9db173be88829fd9d73b05088dac 100644 (file)
@@ -168,7 +168,7 @@ static const uint64_t samplerates[] = {
        SR_HZ(1),
 };
 
-static uint8_t pattern_sigrok[] = {
+static const uint8_t pattern_sigrok[] = {
        0x4c, 0x92, 0x92, 0x92, 0x64, 0x00, 0x00, 0x00,
        0x82, 0xfe, 0xfe, 0x82, 0x00, 0x00, 0x00, 0x00,
        0x7c, 0x82, 0x82, 0x92, 0x74, 0x00, 0x00, 0x00,