summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cherryusb_config_template.h2
-rw-r--r--osal/idf/usb_config.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/cherryusb_config_template.h b/cherryusb_config_template.h
index 941f1887..e7758251 100644
--- a/cherryusb_config_template.h
+++ b/cherryusb_config_template.h
@@ -154,7 +154,7 @@
#define CONFIG_USBHOST_MAX_EXTHUBS 1
#define CONFIG_USBHOST_MAX_EHPORTS 4
#define CONFIG_USBHOST_MAX_INTERFACES 8
-#define CONFIG_USBHOST_MAX_INTF_ALTSETTINGS 8
+#define CONFIG_USBHOST_MAX_INTF_ALTSETTINGS 1
#define CONFIG_USBHOST_MAX_ENDPOINTS 4
#define CONFIG_USBHOST_MAX_CDC_ACM_CLASS 4
diff --git a/osal/idf/usb_config.h b/osal/idf/usb_config.h
index 634efc4a..f66724f8 100644
--- a/osal/idf/usb_config.h
+++ b/osal/idf/usb_config.h
@@ -153,7 +153,7 @@
#define CONFIG_USBHOST_MAX_EXTHUBS 1
#define CONFIG_USBHOST_MAX_EHPORTS 4
#define CONFIG_USBHOST_MAX_INTERFACES 8
-#define CONFIG_USBHOST_MAX_INTF_ALTSETTINGS 8
+#define CONFIG_USBHOST_MAX_INTF_ALTSETTINGS 1
#define CONFIG_USBHOST_MAX_ENDPOINTS 4
#define CONFIG_USBHOST_MAX_CDC_ACM_CLASS 4