]> sigrok.org Git - libsigrok.git/blobdiff - hardware/hameg-hmo/protocol.h
hameg-hmo: Change the way vdiv and timebase are saved.
[libsigrok.git] / hardware / hameg-hmo / protocol.h
index ffc841283d24f152bd5ed83d2c03788a1f3f4933..18dde31f66b19dd2c746b6bdd13d8e6ee9398a8a 100644 (file)
@@ -69,7 +69,7 @@ struct scope_config {
 struct analog_channel_state {
        int coupling;
 
-       float vdiv;
+       int vdiv;
        float vertical_offset;
 
        gboolean state;
@@ -80,7 +80,7 @@ struct scope_state {
        gboolean *digital_channels;
        gboolean *digital_pods;
 
-       float timebase;
+       int timebase;
        float horiz_triggerpos;
 
        int trigger_source;