]> sigrok.org Git - libsigrok.git/commitdiff
hantek-4032l: Fix typo from device porting to new lib version.
authorAndrej Valek <redacted>
Fri, 16 Feb 2018 19:54:09 +0000 (20:54 +0100)
committerUwe Hermann <redacted>
Sun, 22 Apr 2018 09:11:06 +0000 (11:11 +0200)
Signed-off-by: Andrej Valek <redacted>
src/hardware/hantek-4032l/protocol.c

index ccd2256bf545be9a28daf1ca64745c4042d95909..7b0a5798bbb27cfe72ca98445a8c39d3e8d4cc18 100644 (file)
@@ -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;