mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-15 03:38:56 +01:00
Fix init_scan request length
This commit is contained in:
@@ -48,7 +48,7 @@ usb_request_status_t usb_vendor_request_init_scan(
|
||||
usb_endpoint_t* const endpoint, const usb_transfer_stage_t stage)
|
||||
{
|
||||
if ((stage == USB_TRANSFER_STAGE_SETUP) &&
|
||||
(endpoint->setup.length == 24)) {
|
||||
(endpoint->setup.length == 6)) {
|
||||
|
||||
usb_transfer_schedule_block(endpoint->out, &scan_params,
|
||||
sizeof(struct init_scan_params),
|
||||
|
||||
Reference in New Issue
Block a user