risc-v/esp32c3: Remove useless parameter from DMA macro

This commit is contained in:
Gustavo Henrique Nihei
2021-05-31 09:08:13 -03:00
committed by Xiang Xiao
parent 99bfd355c7
commit da78cf78eb
+1 -1
View File
@@ -50,7 +50,7 @@
#define REG_OFF (DMA_OUT_CONF0_CH1_REG - DMA_OUT_CONF0_CH0_REG)
#define SET_REG(_r, _ch, _v) putreg32((_v), (_r) + (_ch) * REG_OFF)
#define GET_REG(_r, _ch, _v) getreg32((_r) + (_ch) * REG_OFF)
#define GET_REG(_r, _ch) getreg32((_r) + (_ch) * REG_OFF)
#define SET_BITS(_r, _ch, _b) modifyreg32((_r) + (_ch) * REG_OFF, 0, (_b))
#define CLR_BITS(_r, _ch, _b) modifyreg32((_r) + (_ch) * REG_OFF, (_b), 0)