changed the vendor id of sd to usb (#1082)

This commit is contained in:
Bernd Herzog 2023-05-27 11:39:04 +02:00 committed by GitHub
parent 35b381ae77
commit cf07428a5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,10 +25,10 @@
#include "usb_type.h"
#include "usb_descriptor.h"
#define USB_VENDOR_ID (0x1D50)
#define USB_VENDOR_ID (0x0781) /* SanDisk Corp. */
#ifdef HACKRF_ONE
#define USB_PRODUCT_ID (0x6089)
#define USB_PRODUCT_ID (0xa7a8) /* SD card reader */
#elif JAWBREAKER
#define USB_PRODUCT_ID (0x604B)
#elif RAD1O
@ -37,7 +37,7 @@
#define USB_PRODUCT_ID (0xFFFF)
#endif
#define USB_API_VERSION (0x0107)
#define USB_API_VERSION (0x0127) /* hardware revision */
#define USB_WORD(x) (x & 0xFF), ((x >> 8) & 0xFF)