hantek-4032l: Fix typo from device porting to new lib version.

Signed-off-by: Andrej Valek <andy@skyrain.eu>
This commit is contained in:
Andrej Valek 2018-02-16 20:54:09 +01:00 committed by Uwe Hermann
parent 2c267f6819
commit 972001561b
1 changed files with 1 additions and 1 deletions

View 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;