X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fhardware%2Fhameg-hmo%2Fprotocol.h;fp=src%2Fhardware%2Fhameg-hmo%2Fprotocol.h;h=a9f69c682eb1ee6591ad1045b3e4bf25aa76b45a;hp=da48ce9a65ee484198a051823282dfadf474ee49;hb=4fa4db2c7983235fff5891127f5f4648a3762172;hpb=c8ecfa6ea483e53f2ea735bc58ba93d4eac6b4f6 diff --git a/src/hardware/hameg-hmo/protocol.h b/src/hardware/hameg-hmo/protocol.h index da48ce9a..a9f69c68 100644 --- a/src/hardware/hameg-hmo/protocol.h +++ b/src/hardware/hameg-hmo/protocol.h @@ -29,7 +29,7 @@ #define LOG_PREFIX "hameg-hmo" #define MAX_INSTRUMENT_VERSIONS 10 -#define MAX_COMMAND_SIZE 48 +#define MAX_COMMAND_SIZE 128 #define MAX_ANALOG_CHANNEL_COUNT 4 #define MAX_DIGITAL_CHANNEL_COUNT 16 #define MAX_DIGITAL_GROUP_COUNT 2 @@ -103,6 +103,8 @@ struct scope_state { int trigger_source; int trigger_slope; + char *trigger_pattern; + uint64_t sample_rate; };