clean up
This commit is contained in:
parent
20fb416783
commit
87962a222d
|
@ -24,15 +24,10 @@
|
||||||
* This file is part of the TinyUSB stack.
|
* This file is part of the TinyUSB stack.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \ingroup group_osal
|
|
||||||
* @{
|
|
||||||
* \defgroup Group_FreeRTOS FreeRTOS
|
|
||||||
* @{ */
|
|
||||||
|
|
||||||
#ifndef _TUSB_OSAL_FREERTOS_H_
|
#ifndef _TUSB_OSAL_FREERTOS_H_
|
||||||
#define _TUSB_OSAL_FREERTOS_H_
|
#define _TUSB_OSAL_FREERTOS_H_
|
||||||
|
|
||||||
//------------- FreeRTOS Headers -------------//
|
// FreeRTOS Headers
|
||||||
#include "FreeRTOS.h"
|
#include "FreeRTOS.h"
|
||||||
#include "semphr.h"
|
#include "semphr.h"
|
||||||
#include "queue.h"
|
#include "queue.h"
|
||||||
|
@ -42,14 +37,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 0
|
|
||||||
// Helper to determine if we are in ISR to use ISR API (only cover ARM Cortex)
|
|
||||||
static inline bool in_isr(void)
|
|
||||||
{
|
|
||||||
return (SCB->ICSR & SCB_ICSR_VECTACTIVE_Msk);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
// TASK API
|
// TASK API
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
|
@ -148,6 +135,3 @@ static inline void osal_queue_reset(osal_queue_t const queue_hdl)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _TUSB_OSAL_FREERTOS_H_ */
|
#endif /* _TUSB_OSAL_FREERTOS_H_ */
|
||||||
|
|
||||||
/** @} */
|
|
||||||
/** @} */
|
|
||||||
|
|
|
@ -24,10 +24,6 @@
|
||||||
* This file is part of the TinyUSB stack.
|
* This file is part of the TinyUSB stack.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \ingroup group_osal
|
|
||||||
* \defgroup Group_OSNone None OS
|
|
||||||
* @{ */
|
|
||||||
|
|
||||||
#ifndef _TUSB_OSAL_NONE_H_
|
#ifndef _TUSB_OSAL_NONE_H_
|
||||||
#define _TUSB_OSAL_NONE_H_
|
#define _TUSB_OSAL_NONE_H_
|
||||||
|
|
||||||
|
@ -205,5 +201,3 @@ static inline bool osal_queue_receive(osal_queue_t const qhdl, void* data)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _TUSB_OSAL_NONE_H_ */
|
#endif /* _TUSB_OSAL_NONE_H_ */
|
||||||
|
|
||||||
/** @} */
|
|
||||||
|
|
Loading…
Reference in New Issue