]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/hameg-hmo/protocol.h
hameg-hmo: Beautify trigger pattern.
[libsigrok.git] / src / hardware / hameg-hmo / protocol.h
index d169311b2eec7d9cd5ca498dd0d3892c5856b670..30efc8626ab9fb94da75a63fd33200a82204668a 100644 (file)
@@ -104,7 +104,7 @@ struct scope_state {
 
        int trigger_source;
        int trigger_slope;
-       char *trigger_pattern;
+       char trigger_pattern[MAX_ANALOG_CHANNEL_COUNT + MAX_DIGITAL_CHANNEL_COUNT];
 
        uint64_t sample_rate;
 };