mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-06 23:39:56 +01:00
Add magic & scan_freq to the start of each transfer
This commit is contained in:
@@ -91,6 +91,8 @@ void scan_mode(void) {
|
||||
}
|
||||
|
||||
if (transfer) {
|
||||
*(uint16_t*)buffer = 0x7F7F;
|
||||
*(uint16_t*)(buffer+2) = scan_freq;
|
||||
usb_transfer_schedule_block(
|
||||
&usb_endpoint_bulk_in,
|
||||
buffer,
|
||||
|
||||
Reference in New Issue
Block a user