diff options
author | Keith Packard <keithp@keithp.com> | 2010-08-21 17:09:41 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-08-21 17:09:41 -0700 |
commit | 09252ec22d58e946494e4ca2cf367bf3bbe1cc50 (patch) | |
tree | 2e1ea5c5039cf48915f1bbd5a0ef00fcd76870cf /src/ao_product.c | |
parent | 22800dc094797e1e0ad99124198809d0360f7556 (diff) |
altos: Define USB product ID in per-product Makefile.defs file
This allows Win7 to tell which kind of device is connected purely by
USB id as it doesn't expose the USB product ID string to user space.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_product.c')
-rw-r--r-- | src/ao_product.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_product.c b/src/ao_product.c index b42e62c0..2bd0b59c 100644 --- a/src/ao_product.c +++ b/src/ao_product.c @@ -40,7 +40,7 @@ const uint8_t ao_usb_descriptors [] = 0x00, /* bDeviceProtocol */ AO_USB_CONTROL_SIZE, /* bMaxPacketSize */ LE_WORD(0xFFFE), /* idVendor */ - LE_WORD(0x000A), /* idProduct */ + LE_WORD(AO_idProduct_NUMBER), /* idProduct */ LE_WORD(0x0100), /* bcdDevice */ 0x01, /* iManufacturer */ 0x02, /* iProduct */ |