diff options
| author | hathach <[email protected]> | 2013-01-17 14:40:46 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-01-17 14:40:46 +0700 |
| commit | c16632da0bf8d042388018c667cfbc176ed56436 (patch) | |
| tree | ceb00f2f4207ba42928430239a61ce607b5bcc02 /tinyusb/tusb.h | |
| parent | 480ddb4fecb96c79cc046f3e4d03ec73a04abca0 (diff) | |
add UART support for ea4357 (tested)
Diffstat (limited to 'tinyusb/tusb.h')
| -rw-r--r-- | tinyusb/tusb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tinyusb/tusb.h b/tinyusb/tusb.h index 9eb153371..8d1fd66bc 100644 --- a/tinyusb/tusb.h +++ b/tinyusb/tusb.h @@ -58,6 +58,10 @@ #include "device/dcd.h" #endif +#if !(defined TUSB_CFG_HOST) && !(defined TUSB_CFG_DEVICE) + #error please enable either TUSB_CFG_HOST or TUSB_CFG_DEVICE +#endif + #if DEVICE_CLASS_HID #include "class/hid.h" #endif |
