X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fhantek-dso%2Fdso.h;h=3220b90df0b4c8a0d2d930672346cc50c5e910ab;hb=a217bcdf104e757db9713ea767ee5709b137084b;hp=aa0cd8be001ab6e20c788b80df7861668f08adc3;hpb=2715c0b86bafed70dc1d3737b59750570951f507;p=libsigrok.git diff --git a/hardware/hantek-dso/dso.h b/hardware/hantek-dso/dso.h index aa0cd8be..3220b90d 100644 --- a/hardware/hantek-dso/dso.h +++ b/hardware/hantek-dso/dso.h @@ -36,7 +36,7 @@ #define DEFAULT_FRAMESIZE FRAMESIZE_SMALL #define DEFAULT_TIMEBASE TIME_100us #define DEFAULT_TRIGGER_SOURCE "CH1" -#define DEFAULT_COUPLING COUPLING_AC +#define DEFAULT_COUPLING COUPLING_DC #define DEFAULT_HORIZ_TRIGGERPOS 0.5 #define DEFAULT_VERT_OFFSET 0.5 #define DEFAULT_VERT_TRIGGERPOS 0.5 @@ -160,7 +160,7 @@ struct dso_profile { }; struct context { - struct dso_profile *profile; + const struct dso_profile *profile; struct sr_usb_dev_inst *usb; void *cb_data; uint64_t limit_frames;