mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
refactor(parlio_rx): refactor to support unaligned user payload buffer
Closes https://github.com/espressif/esp-idf/issues/17581
This commit is contained in:
@@ -33,7 +33,7 @@ static inline void rmt_rx_mount_dma_buffer(rmt_rx_channel_t *rx_chan, const void
|
||||
.length = per_block_size,
|
||||
.buffer_alignment = mem_alignment,
|
||||
.flags = {
|
||||
.mark_final = false,
|
||||
.mark_final = GDMA_FINAL_LINK_TO_DEFAULT,
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -105,7 +105,7 @@ static esp_err_t rmt_tx_init_dma_link(rmt_tx_channel_t *tx_channel, const rmt_tx
|
||||
// each node can generate the DMA eof interrupt, and the driver will do a ping-pong trick in the eof callback
|
||||
.mark_eof = true,
|
||||
// chain the descriptors into a ring, and will break it in `rmt_encode_eof()`
|
||||
.mark_final = false,
|
||||
.mark_final = GDMA_FINAL_LINK_TO_DEFAULT,
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user