File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ int main() {
5050 }
5151
5252 // We set the outbound DMA to transfer from a memory buffer to the SPI transmit FIFO paced by the SPI TX FIFO DREQ
53- // The default is for the read address to increment every element (in this case 1 byte - DMA_SIZE_8)
53+ // The default is for the read address to increment every element (in this case 1 byte = DMA_SIZE_8)
5454 // and for the write address to remain unchanged.
5555
5656 printf ("Configure TX DMA\n" );
@@ -66,7 +66,7 @@ int main() {
6666 printf ("Configure RX DMA\n" );
6767
6868 // We set the inbound DMA to transfer from the SPI receive FIFO to a memory buffer paced by the SPI RX FIFO DREQ
69- // We coinfigure the read address to remain unchanged for each element, but the write
69+ // We configure the read address to remain unchanged for each element, but the write
7070 // address to increment (so data is written throughout the buffer)
7171 c = dma_channel_get_default_config (dma_rx );
7272 channel_config_set_transfer_data_size (& c , DMA_SIZE_8 );
You can’t perform that action at this time.
0 commit comments