X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Fhardware%2Fhameg-hmo%2Fprotocol.h;h=2749fb8e7e0c27565d4898dd0ceea2d2984c39b3;hb=97a000748a1a4ca7370121af0c84d0e2281d527a;hp=df4a4e4c12f7d3de20bb2319d81cae33c49e745f;hpb=a12456f1bbc65111b0bf0c7f72b03af097246a17;p=libsigrok.git diff --git a/src/hardware/hameg-hmo/protocol.h b/src/hardware/hameg-hmo/protocol.h index df4a4e4c..2749fb8e 100644 --- a/src/hardware/hameg-hmo/protocol.h +++ b/src/hardware/hameg-hmo/protocol.h @@ -73,8 +73,8 @@ struct scope_config { const uint64_t (*vdivs)[][2]; const uint8_t num_vdivs; - const uint8_t num_xdivs; - const uint8_t num_ydivs; + unsigned int num_xdivs; + const unsigned int num_ydivs; const char *(*scpi_dialect)[]; }; @@ -108,6 +108,9 @@ struct scope_state { int trigger_slope; char trigger_pattern[MAX_ANALOG_CHANNEL_COUNT + MAX_DIGITAL_CHANNEL_COUNT]; + gboolean high_resolution; + gboolean peak_detection; + uint64_t sample_rate; };