X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fhantek-dso%2Fdso.h;h=78e438bd62537d0fcfb1ce99bbe2a57932c7f28e;hb=b02bb45f4cf6378520e5a5b82ff39013cfa270b6;hp=7938e9e516d597037c0e61985df16c970e9e1df4;hpb=1a46cc62e2b528bcaeb1f8dc0c952a81b3bcba5c;p=libsigrok.git diff --git a/src/hardware/hantek-dso/dso.h b/src/hardware/hantek-dso/dso.h index 7938e9e5..78e438bd 100644 --- a/src/hardware/hantek-dso/dso.h +++ b/src/hardware/hantek-dso/dso.h @@ -154,15 +154,14 @@ struct dso_profile { /* VID/PID after firmware upload */ uint16_t fw_vid; uint16_t fw_pid; - char *vendor; - char *model; + const char *vendor; + const char *model; const uint64_t *buffersizes; - char *firmware; + const char *firmware; }; struct dev_context { const struct dso_profile *profile; - void *cb_data; uint64_t limit_frames; uint64_t num_frames; GSList *enabled_channels;