From b36a85ad3625596ce57f1a9fc2ddde2ea98b33d8 Mon Sep 17 00:00:00 2001 From: hathach Date: Sun, 2 Dec 2012 11:07:59 +0700 Subject: add extern "C" for cpp start to work on hal layer --- tinyusb/host/hcd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tinyusb/host') diff --git a/tinyusb/host/hcd.h b/tinyusb/host/hcd.h index 8ab648450..a5fe31624 100644 --- a/tinyusb/host/hcd.h +++ b/tinyusb/host/hcd.h @@ -51,12 +51,12 @@ #ifndef _TUSB_HCD_H_ #define _TUSB_HCD_H_ -#include "common/common.h" - #ifdef __cplusplus extern "C" { #endif +#include "common/common.h" + /** \brief Initialize HCD * * \param[in] para1 -- cgit v1.3.1