summaryrefslogtreecommitdiff
path: root/tinyusb/osal/osal.h
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb/osal/osal.h')
-rw-r--r--tinyusb/osal/osal.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/tinyusb/osal/osal.h b/tinyusb/osal/osal.h
index f87423d18..93d50699d 100644
--- a/tinyusb/osal/osal.h
+++ b/tinyusb/osal/osal.h
@@ -46,13 +46,6 @@
/** \addtogroup group_osal
* @{ */
-/** \defgroup group_supported_os Supported RTOS
- * \brief \ref CFG_TUSB_OS must be defined to one of these
- * @{ */
-#define TUSB_OS_NONE 1 ///< No RTOS is used
-#define TUSB_OS_FREERTOS 2 ///< FreeRTOS is used
-/** @} */
-
#include "tusb_option.h"
#include "common/tusb_common.h"
@@ -64,11 +57,11 @@ enum
};
-#if CFG_TUSB_OS == TUSB_OS_NONE
+#if CFG_TUSB_OS == OPT_OS_NONE
#include "osal_none.h"
#else
- #if CFG_TUSB_OS == TUSB_OS_FREERTOS
+ #if CFG_TUSB_OS == OPT_OS_FREERTOS
#include "osal_freeRTOS.h"
#else
#error CFG_TUSB_OS is not defined or OS is not supported yet