feat(freertos): speed up CPU hardware interrupt active event

This commit is contained in:
dongheng
2020-02-19 14:03:15 +08:00
parent 5c5ee66bd7
commit 117f7ae58c
6 changed files with 18 additions and 15 deletions

View File

@ -43,7 +43,6 @@ static const char *I2S_TAG = "i2s";
return (ret_val); \
}
#define portYIELD_FROM_ISR() taskYIELD()
#define dma_intr_enable() _xt_isr_unmask(1 << ETS_SLC_INUM)
#define dma_intr_disable() _xt_isr_mask(1 << ETS_SLC_INUM)
#define dma_intr_register(a, b) _xt_isr_attach(ETS_SLC_INUM, (a), (b))