Add magic & scan_freq to the start of each transfer

This commit is contained in:
Mike Walters
2016-07-27 01:46:11 +01:00
parent ccc424e21f
commit a303097c31

View File

@ -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,