diff options
| author | Ha Thach <[email protected]> | 2022-02-26 01:00:07 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-02-26 01:00:07 +0700 |
| commit | 5b7a01ba79f7a048ddea3b5dedf187746cd21225 (patch) | |
| tree | f2ae941108ea7c3c610c92de4fe95431be149176 /src/class/hid | |
| parent | 13a4582ce25cd47e346f317c9eb412af7a2c17a2 (diff) | |
| parent | 1482a415240171b7ff2bd2ee0f123635dd15f9a4 (diff) | |
Merge pull request #1350 from hathach/enhance-multipl-ports
Enhance rhports management
Diffstat (limited to 'src/class/hid')
| -rw-r--r-- | src/class/hid/hid_device.c | 2 | ||||
| -rw-r--r-- | src/class/hid/hid_host.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/class/hid/hid_device.c b/src/class/hid/hid_device.c index 588b61254..562ca7f36 100644 --- a/src/class/hid/hid_device.c +++ b/src/class/hid/hid_device.c @@ -26,7 +26,7 @@ #include "tusb_option.h" -#if (TUSB_OPT_DEVICE_ENABLED && CFG_TUD_HID) +#if (CFG_TUD_ENABLED && CFG_TUD_HID) //--------------------------------------------------------------------+ // INCLUDE diff --git a/src/class/hid/hid_host.c b/src/class/hid/hid_host.c index f19f1ba81..542ed5772 100644 --- a/src/class/hid/hid_host.c +++ b/src/class/hid/hid_host.c @@ -26,7 +26,7 @@ #include "tusb_option.h" -#if (TUSB_OPT_HOST_ENABLED && CFG_TUH_HID) +#if (CFG_TUH_ENABLED && CFG_TUH_HID) #include "host/usbh.h" #include "host/usbh_classdriver.h" |
