X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fhantek-dso%2Fprotocol.h;h=21131613144c3d4dd82480c2ff26746720f9154e;hb=9417f26fd47556c4b4f6ecaa08a2860672664eb9;hp=626e7f9fdc71dc441f9be716181e0f3dbc1d562d;hpb=ab8df2b1a64d7891e4fbbcdef047e28343819dc9;p=libsigrok.git diff --git a/src/hardware/hantek-dso/protocol.h b/src/hardware/hantek-dso/protocol.h index 626e7f9f..21131613 100644 --- a/src/hardware/hantek-dso/protocol.h +++ b/src/hardware/hantek-dso/protocol.h @@ -190,7 +190,7 @@ struct dev_context { int dev_state; /* Oscilloscope settings. */ - int samplerate; + uint64_t samplerate; int timebase; gboolean ch_enabled[2]; int voltage[2]; @@ -204,7 +204,7 @@ struct dev_context { gboolean filter[2]; int triggerslope; char *triggersource; - int capture_ratio; + uint64_t capture_ratio; int triggermode; /* Frame transfer */