summaryrefslogtreecommitdiff
path: root/tinyusb/osal/osal.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2014-03-16 22:20:33 +0700
committerhathach <[email protected]>2014-03-16 22:20:33 +0700
commitd1d4ddd85626567ddd0369387276ccf9680673d6 (patch)
tree7bded70898796d0219c2245f6dabe6bdfdb7fbac /tinyusb/osal/osal.h
parent18d577abfb3feb3c4eb2728661b6c508cdf37da0 (diff)
doxygen document
Diffstat (limited to 'tinyusb/osal/osal.h')
-rw-r--r--tinyusb/osal/osal.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/tinyusb/osal/osal.h b/tinyusb/osal/osal.h
index d68bbf43b..4bb28c1fb 100644
--- a/tinyusb/osal/osal.h
+++ b/tinyusb/osal/osal.h
@@ -51,12 +51,8 @@
/** @} */
-/** \addtogroup Port Port
- * @{
- * \defgroup Port_OSAL OS Abstraction Layer (OSAL)
- * @{
- */
-
+/** \defgroup Group_OSAL OS Abstraction Layer (OSAL)
+ * @{ */
#ifdef __cplusplus
extern "C" {
@@ -68,6 +64,7 @@
#if TUSB_CFG_OS == TUSB_OS_NONE
#include "osal_none.h"
+
#else
#define OSAL_VAR
#define OSAL_TASK_FUNCTION(task_func) void task_func
@@ -111,7 +108,8 @@
#endif
#endif
-#else // OSAL API for cmock
+//------------- OSAL API for cmock -------------//
+#else
#define OSAL_VAR
#include "osal_common.h"
@@ -232,6 +230,5 @@ uint32_t osal_tick_get(void);
#endif
/** @} */
-/** @} */
#endif /* _TUSB_OSAL_H_ */