diff options
| author | hathach <[email protected]> | 2019-10-10 11:03:31 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-10-10 11:03:31 +0700 |
| commit | 267c76c7db814513957f721bc70c31267dd37308 (patch) | |
| tree | e8b47b32b2cfe5ea97270b6eb9528fbf81c4ce69 /src/osal/osal_none.h | |
| parent | c42edc080cb61d4af8015df6c1d404273b3a5bfa (diff) | |
embOS port by Matt Pageport-embos
note: embOS require OS_EnterInterrupt/OS_LeaveInterrupt to be called.
This should be resolved by implementing #128 without introduce new OSAL
API
Diffstat (limited to 'src/osal/osal_none.h')
| -rw-r--r-- | src/osal/osal_none.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/osal/osal_none.h b/src/osal/osal_none.h index fa581215d..5dc174871 100644 --- a/src/osal/osal_none.h +++ b/src/osal/osal_none.h @@ -44,6 +44,21 @@ static inline void osal_task_delay(uint32_t msec) }
//--------------------------------------------------------------------+
+// Interrupt API
+//--------------------------------------------------------------------+
+static inline void osal_enter_interrupt(void)
+{
+ //
+}
+
+static inline void osal_leave_interrupt(void)
+{
+ //
+}
+
+
+
+//--------------------------------------------------------------------+
// Binary Semaphore API
//--------------------------------------------------------------------+
typedef struct
|
