X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fhameg-hmo%2Fprotocol.h;h=af77c6da7e6dc09a0d2486a33809ce5881857270;hb=HEAD;hp=2749fb8e7e0c27565d4898dd0ceea2d2984c39b3;hpb=97a000748a1a4ca7370121af0c84d0e2281d527a;p=libsigrok.git diff --git a/src/hardware/hameg-hmo/protocol.h b/src/hardware/hameg-hmo/protocol.h index 2749fb8e..af77c6da 100644 --- a/src/hardware/hameg-hmo/protocol.h +++ b/src/hardware/hameg-hmo/protocol.h @@ -106,7 +106,7 @@ struct scope_state { int trigger_source; int trigger_slope; - char trigger_pattern[MAX_ANALOG_CHANNEL_COUNT + MAX_DIGITAL_CHANNEL_COUNT]; + char trigger_pattern[MAX_ANALOG_CHANNEL_COUNT + MAX_DIGITAL_CHANNEL_COUNT + 1]; gboolean high_resolution; gboolean peak_detection;