X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fhantek-dso%2Fdso.h;h=3180a434ea7aca6c128a3cdc7ad68f9063e7bdb2;hb=5e23fcab889c62864b92aa3ad6902ce3e9f5be49;hp=edccb725cf3830bc873833e6e4856e3468392a59;hpb=155b680da482cea2381becb73c51cfb838bff31e;p=libsigrok.git diff --git a/src/hardware/hantek-dso/dso.h b/src/hardware/hantek-dso/dso.h index edccb725..3180a434 100644 --- a/src/hardware/hantek-dso/dso.h +++ b/src/hardware/hantek-dso/dso.h @@ -180,19 +180,15 @@ struct dev_context { int timebase; gboolean ch1_enabled; gboolean ch2_enabled; - int voltage_ch1; - int voltage_ch2; - int coupling_ch1; - int coupling_ch2; + int voltage[2]; + int coupling[2]; // voltage offset (vertical position) float voffset_ch1; float voffset_ch2; float voffset_trigger; uint16_t channel_levels[2][9][2]; unsigned int framesize; - gboolean filter_ch1; - gboolean filter_ch2; - gboolean filter_trigger; + gboolean filter[2]; int triggerslope; char *triggersource; float triggerposition;