diff options
| author | Yunjie Gu <[email protected]> | 2022-10-20 04:41:13 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-19 23:41:13 -0400 |
| commit | 8fa9fde43a2e9cb978b52c0eb536fe2bafcc6e73 (patch) | |
| tree | 467394dde2b65c1ab6274059a1c475e72eefdb1d /src/irq.c | |
| parent | 65baa8b697ab77e24c9d3f510e601893526e33e2 (diff) | |
[bsp][c28x] add support to not disable global interrupt in context-switch to enable zero-latency isr for critical interrupts.
Diffstat (limited to 'src/irq.c')
| -rw-r--r-- | src/irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -78,7 +78,7 @@ volatile rt_uint8_t rt_interrupt_nest = 0; * * @see rt_interrupt_leave */ -void rt_interrupt_enter(void) +RT_WEAK void rt_interrupt_enter(void) { rt_base_t level; @@ -100,7 +100,7 @@ RTM_EXPORT(rt_interrupt_enter); * * @see rt_interrupt_enter */ -void rt_interrupt_leave(void) +RT_WEAK void rt_interrupt_leave(void) { rt_base_t level; |
