From: Andrej Valek Date: Fri, 16 Feb 2018 19:54:09 +0000 (+0100) Subject: hantek-4032l: Fix typo from device porting to new lib version. X-Git-Url: https://sigrok.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=972001561b150ce91e206fc8e03daed13efcbc0d;p=libsigrok.git hantek-4032l: Fix typo from device porting to new lib version. Signed-off-by: Andrej Valek --- diff --git a/src/hardware/hantek-4032l/protocol.c b/src/hardware/hantek-4032l/protocol.c index ccd2256b..7b0a5798 100644 --- a/src/hardware/hantek-4032l/protocol.c +++ b/src/hardware/hantek-4032l/protocol.c @@ -126,7 +126,7 @@ void LIBUSB_CALL h4032l_usb_callback(struct libusb_transfer *transfer) devc->status = H4032L_STATUS_TRANSFER; max_samples--; buffer++; - break; + /* Fallthrough. */ case H4032L_STATUS_TRANSFER: number_samples = (devc->remaining_samples < max_samples) ? devc->remaining_samples : max_samples; devc->remaining_samples -= number_samples;