hantek-4032l: Fix typo from device porting to new lib version.
Signed-off-by: Andrej Valek <andy@skyrain.eu>
This commit is contained in:
parent
2c267f6819
commit
972001561b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue