From 0bae4b25882983cd0b7950b3e80b6d93a72f0847 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 8 Feb 2016 19:15:31 -0800 Subject: [PATCH] altos: Another fix for non CDC-ACM devices Need to set the bInterfaceNumber for the actual interface to zero when there isn't an INT interface before it. Signed-off-by: Keith Packard --- src/kernel/ao_product.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/ao_product.c b/src/kernel/ao_product.c index a1a9af09..4769d86e 100644 --- a/src/kernel/ao_product.c +++ b/src/kernel/ao_product.c @@ -138,7 +138,7 @@ AO_ROMCONFIG_SYMBOL(0x00aa) uint8_t ao_usb_descriptors [] = /* Data class interface descriptor */ 0x09, AO_USB_DESC_INTERFACE, - 0x01, /* bInterfaceNumber */ + AO_USB_HAS_INT, /* bInterfaceNumber */ 0x00, /* bAlternateSetting */ AO_USB_HAS_OUT + AO_USB_HAS_IN, /* bNumEndPoints */ AO_USB_INTERFACE_CLASS_DATA, /* bInterfaceClass = data */ -- 2.30.2