X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fhardware%2Fhameg-hmo%2Fprotocol.h;h=c42aa98a6a8fc3a3fcd130c57b0073f4c4d06ed1;hb=2ea1fdf12113311cbe1a4316e9e2efe4d8ac40f0;hp=5e19ca433157b7fdc211b1c49dcd994d35b30db9;hpb=f254bc4bba68d2cade0c8f7993d8fa8d3d9b556a;p=libsigrok.git diff --git a/src/hardware/hameg-hmo/protocol.h b/src/hardware/hameg-hmo/protocol.h index 5e19ca43..c42aa98a 100644 --- a/src/hardware/hameg-hmo/protocol.h +++ b/src/hardware/hameg-hmo/protocol.h @@ -23,7 +23,7 @@ #include #include #include -#include "libsigrok.h" +#include #include "libsigrok-internal.h" #define LOG_PREFIX "hameg-hmo" @@ -73,6 +73,7 @@ struct analog_channel_state { float vertical_offset; gboolean state; + char probe_unit; }; struct scope_state { @@ -86,11 +87,14 @@ struct scope_state { int trigger_source; int trigger_slope; uint64_t sample_rate; + + /** SCPI data block byte order. 'l'/'b' when known, '?' otherwise. */ + char byteorder; }; /** Private, per-device-instance driver context. */ struct dev_context { - void *model_config; + const void *model_config; void *model_state; struct sr_channel_group **analog_groups;