mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-06 07:25:37 +01:00
fix(hackrf-usb): Remove unneeded rad1o patch, not reading the serial number
This commit is contained in:
@@ -201,7 +201,6 @@ void usb_configuration_changed(
|
||||
|
||||
void usb_set_descriptor_by_serial_number(void)
|
||||
{
|
||||
#ifndef RAD1O
|
||||
iap_cmd_res_t iap_cmd_res;
|
||||
|
||||
/* Read IAP Serial Number Identification */
|
||||
@@ -220,9 +219,6 @@ void usb_set_descriptor_by_serial_number(void)
|
||||
usb_descriptor_string_serial_number[3 + i * 2] = 0x00;
|
||||
}
|
||||
} else {
|
||||
#else
|
||||
{
|
||||
#endif
|
||||
usb_descriptor_string_serial_number[0] = 2;
|
||||
usb_descriptor_string_serial_number[1] = USB_DESCRIPTOR_TYPE_STRING;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user