Merge branch 'feature/support_spi_on_727' into 'master'

spi: support spi on 727

Closes IDF-3178

See merge request espressif/esp-idf!13346
This commit is contained in:
Michael (XIAO Xufeng)
2021-04-28 08:16:15 +00:00
7 changed files with 36 additions and 52 deletions

View File

@@ -1005,7 +1005,7 @@ static inline void spi_ll_set_intr(spi_dev_t* hw, spi_ll_intr_t intr_mask)
static inline void spi_ll_clear_intr(spi_dev_t* hw, spi_ll_intr_t intr_mask)
{
#define CLR_INTR(intr_bit, _, __, clr_op) if (intr_mask & (intr_bit)) hw->clr_op;
#define CLR_INTR(intr_bit, _, __, clr_reg) if (intr_mask & (intr_bit)) hw->clr_reg;
FOR_EACH_ITEM(CLR_INTR, INTR_LIST);
#undef CLR_INTR
}