diff options
| author | hathach <[email protected]> | 2012-11-29 15:35:59 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2012-11-29 15:35:59 +0700 |
| commit | 360b28b44fa2ad7973f06c7f048a66a68e6cb90f (patch) | |
| tree | a80ef4f6ba6282faa2fd13cc18689667f47626e9 /tinyusb/device/dcd.h | |
| parent | 382cd30be2e3069a490977e1a492783188a02da0 (diff) | |
add more doxygen docs
start to use TUSB_Error_t
Diffstat (limited to 'tinyusb/device/dcd.h')
| -rw-r--r-- | tinyusb/device/dcd.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tinyusb/device/dcd.h b/tinyusb/device/dcd.h index 836669e7e..0e6c0bd99 100644 --- a/tinyusb/device/dcd.h +++ b/tinyusb/device/dcd.h @@ -38,11 +38,7 @@ #ifndef _TUSB_DCD_H_ #define _TUSB_DCD_H_ -#ifdef __cplusplus - extern "C" { -#endif -#include "tusb_cfg.h" #include "common/common.h" #ifdef DEVICE_ROMDRIVER @@ -51,6 +47,11 @@ #define USBD_API ((*(ROM **)(0x1FFF1FF8))->pUSBD) // TODO HAL #endif +#ifdef __cplusplus + extern "C" { +#endif + +TUSB_Error_t dcd_init() ATTR_WARN_UNUSED_RESULT; #ifdef __cplusplus } |
