From 8904874f76ba4a476aefcbadfe74d70a6bfb692a Mon Sep 17 00:00:00 2001 From: Reinhard Panhuber Date: Thu, 18 Feb 2021 20:52:57 +0100 Subject: [PATCH] Exclude #include "osal/osal.h" for OPT_OS_NONE --- src/common/tusb_fifo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/tusb_fifo.h b/src/common/tusb_fifo.h index e56bcb844..585ea17d3 100644 --- a/src/common/tusb_fifo.h +++ b/src/common/tusb_fifo.h @@ -47,13 +47,13 @@ #include #include -#include "osal/osal.h" #ifdef __cplusplus extern "C" { #endif #if CFG_FIFO_MUTEX +#include "osal/osal.h" #define tu_fifo_mutex_t osal_mutex_t #endif