summaryrefslogtreecommitdiff
path: root/tinyusb/tusb_option.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-02-08 12:12:10 +0700
committerhathach <[email protected]>2013-02-08 12:12:10 +0700
commit489b98cb933e1f4b164bf1172a405d22528d2b8b (patch)
treec39a7143190459979f398b13bf1a7426accf0258 /tinyusb/tusb_option.h
parentef0e105da669c7a3d8ae781dac11a37d52c63fa0 (diff)
add TUSB_CFG_HOST_CONTROLLER_START_INDEX
update usbh_init and test code for TUSB_CFG_HOST_CONTROLLER_START_INDEX clean up some
Diffstat (limited to 'tinyusb/tusb_option.h')
-rw-r--r--tinyusb/tusb_option.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tinyusb/tusb_option.h b/tinyusb/tusb_option.h
index 1dc042bca..d2001eae3 100644
--- a/tinyusb/tusb_option.h
+++ b/tinyusb/tusb_option.h
@@ -98,6 +98,10 @@
#warning TUSB_CFG_HOST_CONTROLLER_NUM is not defined, default value is 1
#endif
+ #ifndef TUSB_CFG_HOST_CONTROLLER_START_INDEX
+ #error TUSB_CFG_HOST_CONTROLLER_START_INDEX is not defined
+ #endif
+
#ifndef TUSB_CFG_HOST_DEVICE_MAX
#define TUSB_CFG_HOST_DEVICE_MAX 1
#warning TUSB_CFG_HOST_DEVICE_MAX is not defined, default value is 1