From: Bert Vermeulen Date: Sun, 16 Dec 2012 22:06:15 +0000 (+0100) Subject: lascar-el-usb: fix sample limit parameter X-Git-Tag: dsupstream~444 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=6aed917b133d44199500cdffc0d2f7998add3fb6;p=libsigrok.git lascar-el-usb: fix sample limit parameter --- diff --git a/hardware/lascar-el-usb/protocol.h b/hardware/lascar-el-usb/protocol.h index e9483941..185afde1 100644 --- a/hardware/lascar-el-usb/protocol.h +++ b/hardware/lascar-el-usb/protocol.h @@ -53,7 +53,7 @@ struct dev_context { unsigned int sample_size; unsigned int logged_samples; unsigned int rcvd_samples; - unsigned int limit_samples; + uint64_t limit_samples; /* Model-specific */ /* EL-USB-CO: these are something like scaling and calibration values * fixed per device, used to convert the sample values to CO ppm. */