diff options
| author | hathach <[email protected]> | 2018-04-12 12:55:53 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-04-12 12:55:53 +0700 |
| commit | 18f97fef7e35937c017f2b2ad2300a920256f66b (patch) | |
| tree | af34770b4d075588f91b0e335f949b82283ad11c /tinyusb/osal/osal.h | |
| parent | df367bac54ac8926c51f2d8f11e4ca9a0abf50a8 (diff) | |
rename TUSB_OS_NONE, TUSB_OS_FREERTOS to OPT_OS_NONE, OPT_OS_FREERTOS
Diffstat (limited to 'tinyusb/osal/osal.h')
| -rw-r--r-- | tinyusb/osal/osal.h | 11 |
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
|
