diff options
| author | hathach <[email protected]> | 2013-02-08 12:12:10 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-02-08 12:12:10 +0700 |
| commit | 489b98cb933e1f4b164bf1172a405d22528d2b8b (patch) | |
| tree | c39a7143190459979f398b13bf1a7426accf0258 /tinyusb/hal | |
| parent | ef0e105da669c7a3d8ae781dac11a37d52c63fa0 (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/hal')
| -rw-r--r-- | tinyusb/hal/hal.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tinyusb/hal/hal.h b/tinyusb/hal/hal.h index 7bc038877..c2b60a77a 100644 --- a/tinyusb/hal/hal.h +++ b/tinyusb/hal/hal.h @@ -51,10 +51,6 @@ #ifndef _TUSB_HAL_H_ #define _TUSB_HAL_H_ -#ifdef __cplusplus - extern "C" { -#endif - #include "tusb_option.h" #include "common/compiler/compiler.h" @@ -72,6 +68,9 @@ #include "hal_lpc43xx.h" #endif +#ifdef __cplusplus +extern "C" { +#endif /** \brief USB hardware init * |
