summaryrefslogtreecommitdiff
path: root/tinyusb/class
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-03-04 17:07:14 +0700
committerhathach <[email protected]>2013-03-04 17:07:14 +0700
commite1033b9b3c10a75fece0c2c398f5ed3f4b08d174 (patch)
tree46187ad8c70499817072700c268a5632ad5bf46c /tinyusb/class
parent94c004724ccbe2b74af74fc1753184f6b3ccb9cf (diff)
replace TUSB_CFG_HOST by MODE_HOST_SUPPORTED
move stuffs around
Diffstat (limited to 'tinyusb/class')
-rw-r--r--tinyusb/class/hid_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/class/hid_host.c b/tinyusb/class/hid_host.c
index 56f8cf56b..fb4f4d230 100644
--- a/tinyusb/class/hid_host.c
+++ b/tinyusb/class/hid_host.c
@@ -37,7 +37,7 @@
#include "tusb_option.h"
-#if defined TUSB_CFG_HOST && defined HOST_CLASS_HID
+#if (MODE_HOST_SUPPORTED && defined HOST_CLASS_HID)
#define _TINY_USB_SOURCE_FILE_