summaryrefslogtreecommitdiff
path: root/tinyusb/hal
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb/hal')
-rw-r--r--tinyusb/hal/hal.h7
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
*