summaryrefslogtreecommitdiff
path: root/src/osal/osal_rtthread.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-03-22 16:10:26 +0700
committerhathach <[email protected]>2024-03-22 16:10:26 +0700
commit31f68495cf66706926c408ad15ea90a646c62198 (patch)
tree45d13763461818139708051c603cf327ab6d3cd6 /src/osal/osal_rtthread.h
parent5774ac98864880fdc7c1d6a8b9c7e160ac0dfba8 (diff)
update osal API
add osal_semaphore_delete(), osal_mutex_delete(), osal_queue_delete()
Diffstat (limited to 'src/osal/osal_rtthread.h')
-rw-r--r--src/osal/osal_rtthread.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osal/osal_rtthread.h b/src/osal/osal_rtthread.h
index d03b53bee..a8423086f 100644
--- a/src/osal/osal_rtthread.h
+++ b/src/osal/osal_rtthread.h
@@ -25,8 +25,8 @@
* This file is part of the TinyUSB stack.
*/
-#ifndef _TUSB_OSAL_RTTHREAD_H_
-#define _TUSB_OSAL_RTTHREAD_H_
+#ifndef TUSB_OSAL_RTTHREAD_H_
+#define TUSB_OSAL_RTTHREAD_H_
// RT-Thread Headers
#include "rtthread.h"
@@ -133,4 +133,4 @@ TU_ATTR_ALWAYS_INLINE static inline bool osal_queue_empty(osal_queue_t qhdl) {
}
#endif
-#endif /* _TUSB_OSAL_RTTHREAD_H_ */
+#endif