diff options
| author | hathach <[email protected]> | 2019-04-11 00:20:54 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-04-11 00:22:18 +0700 |
| commit | 61021831935cb6e93979cecfdd414a8d6a2219fe (patch) | |
| tree | 7ecf7c32172f8e593412bb0a8084e7f02fa62f39 /src/class | |
| parent | 64bed848d07b8de37cc94c9b64be3e92fa12739d (diff) | |
clean up
Diffstat (limited to 'src/class')
| -rw-r--r-- | src/class/msc/msc_device.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/class/msc/msc_device.h b/src/class/msc/msc_device.h index 74be7e06d..1d223991b 100644 --- a/src/class/msc/msc_device.h +++ b/src/class/msc/msc_device.h @@ -31,6 +31,9 @@ #include "device/usbd.h"
#include "msc.h"
+#ifdef __cplusplus
+ extern "C" {
+#endif
//--------------------------------------------------------------------+
// Class Driver Configuration
@@ -59,10 +62,6 @@ TU_VERIFY_STATIC(CFG_TUD_MSC_BUFSIZE < UINT16_MAX, "Size is not correct"); #error CFG_TUD_MSC_PRODUCT_REV 4-byte string must be defined
#endif
-#ifdef __cplusplus
- extern "C" {
-#endif
-
/** \addtogroup ClassDriver_MSC
* @{
* \defgroup MSC_Device Device
|
