Remove duplicated comment line in header (#1237)
This commit is contained in:
parent
f54ca1a42e
commit
756c4f24a4
@ -157,7 +157,6 @@ static inline void channel_config_set_read_increment(dma_channel_config *c, bool
|
|||||||
* \param c Pointer to channel configuration object
|
* \param c Pointer to channel configuration object
|
||||||
* \param incr True to enable write address increments, if false, each write will be to the same address
|
* \param incr True to enable write address increments, if false, each write will be to the same address
|
||||||
* Usually disabled for memory to peripheral transfers
|
* Usually disabled for memory to peripheral transfers
|
||||||
* Usually disabled for memory to peripheral transfers
|
|
||||||
*/
|
*/
|
||||||
static inline void channel_config_set_write_increment(dma_channel_config *c, bool incr) {
|
static inline void channel_config_set_write_increment(dma_channel_config *c, bool incr) {
|
||||||
c->ctrl = incr ? (c->ctrl | DMA_CH0_CTRL_TRIG_INCR_WRITE_BITS) : (c->ctrl & ~DMA_CH0_CTRL_TRIG_INCR_WRITE_BITS);
|
c->ctrl = incr ? (c->ctrl | DMA_CH0_CTRL_TRIG_INCR_WRITE_BITS) : (c->ctrl & ~DMA_CH0_CTRL_TRIG_INCR_WRITE_BITS);
|
||||||
|
Loading…
Reference in New Issue
Block a user