feat(usb_host): Added KConfig parameter for External HUB support enable

This commit is contained in:
Roman Leonov
2024-02-29 12:40:58 +01:00
parent 8d93d18451
commit 029c286a21
2 changed files with 10 additions and 2 deletions

View File

@@ -12,9 +12,12 @@ Warning: The USB Host Library API is still a beta version and may be subject to
#include <stdint.h>
#include "esp_err.h"
#include "sdkconfig.h"
#include "usb/usb_types_stack.h"
#include "usb/usb_types_ch9.h"
#if (CONFIG_USB_HOST_EXT_HUB_SUPPORT)
#include "usb/usb_types_ch11.h"
#endif // CONFIG_USB_HOST_EXT_HUB_SUPPORT
#ifdef __cplusplus
extern "C" {