Remove duplicated comment line in header (#1237)

This commit is contained in:
andygpz11 2023-02-09 18:06:16 +00:00 committed by GitHub
parent f54ca1a42e
commit 756c4f24a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);