Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TFT_eSPI
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
TFT_eSPI
Commits
c725f201
Unverified
Commit
c725f201
authored
Jan 02, 2022
by
Bodmer
Committed by
GitHub
Jan 02, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update TFT_eSPI_RP2040.c
parent
8a239845
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Processors/TFT_eSPI_RP2040.c
Processors/TFT_eSPI_RP2040.c
+1
-1
No files found.
Processors/TFT_eSPI_RP2040.c
View file @
c725f201
...
@@ -632,7 +632,7 @@ bool TFT_eSPI::initDMA(bool ctrl_cs)
...
@@ -632,7 +632,7 @@ bool TFT_eSPI::initDMA(bool ctrl_cs)
channel_config_set_transfer_data_size
(
&
dma_tx_config
,
DMA_SIZE_16
);
channel_config_set_transfer_data_size
(
&
dma_tx_config
,
DMA_SIZE_16
);
#if !defined (RP2040_PIO_INTERFACE)
#if !defined (RP2040_PIO_INTERFACE)
c
hannel_config_set_dreq
(
&
dma_tx_config
,
spi_get_dreq
(
SPI_X
,
true
)
);
c
channel_config_set_dreq
(
&
dma_tx_config
,
spi_get_index
(
SPI_X
)
?
DREQ_SPI1_TX
:
DREQ_SPI0_TX
);
#else
#else
channel_config_set_dreq
(
&
dma_tx_config
,
pio_get_dreq
(
pio
,
pio_sm
,
true
));
channel_config_set_dreq
(
&
dma_tx_config
,
pio_get_dreq
(
pio
,
pio_sm
,
true
));
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment