added _cplusplus extern wrapper

This commit is contained in:
hathach
2012-11-27 15:35:57 +07:00
parent 06c16ae03f
commit 829c8672bb
12 changed files with 103 additions and 3 deletions

View File

@@ -38,10 +38,18 @@
#ifndef _TUSB_ARCH_LPC134_X_H_
#define _TUSB_ARCH_LPC134_X_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "arm_mx.h"
#define ARM ARM_M3
#define DEVICE_ROMDRIVER
#ifdef __cplusplus
}
#endif
#endif /* _TUSB_ARCH_LPC134_X_H_ */