summaryrefslogtreecommitdiff
path: root/tinyusb/osal
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb/osal')
-rw-r--r--tinyusb/osal/osal_freeRTOS.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tinyusb/osal/osal_freeRTOS.h b/tinyusb/osal/osal_freeRTOS.h
index ed167e688..887727bb0 100644
--- a/tinyusb/osal/osal_freeRTOS.h
+++ b/tinyusb/osal/osal_freeRTOS.h
@@ -51,10 +51,6 @@
#ifndef _TUSB_OSAL_FREERTOS_H_
#define _TUSB_OSAL_FREERTOS_H_
-#ifdef __cplusplus
- extern "C" {
-#endif
-
#include "osal_common.h"
//------------- FreeRTOS Headers -------------//
@@ -62,6 +58,10 @@
#include "semphr.h"
#include "queue.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
//--------------------------------------------------------------------+
// TICK API
//--------------------------------------------------------------------+