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
a4e94634
Unverified
Commit
a4e94634
authored
Dec 28, 2020
by
Bodmer
Committed by
GitHub
Dec 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update TFT_eSPI_STM32.c
parent
16eefd6a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Processors/TFT_eSPI_STM32.c
Processors/TFT_eSPI_STM32.c
+3
-1
No files found.
Processors/TFT_eSPI_STM32.c
View file @
a4e94634
...
@@ -594,8 +594,10 @@ bool TFT_eSPI::initDMA(bool ctrl_cs)
...
@@ -594,8 +594,10 @@ bool TFT_eSPI::initDMA(bool ctrl_cs)
** Function name: initDMA
** Function name: initDMA
** Description: Initialise the DMA engine - returns true if init OK
** Description: Initialise the DMA engine - returns true if init OK
***************************************************************************************/
***************************************************************************************/
bool
TFT_eSPI
::
initDMA
(
void
)
bool
TFT_eSPI
::
initDMA
(
bool
ctrl_cs
)
{
{
ctrl_cs
=
ctrl_cs
;
// Not used for STM32, so stop compiler warning
__HAL_RCC_DMA1_CLK_ENABLE
();
// Enable DMA1 clock
__HAL_RCC_DMA1_CLK_ENABLE
();
// Enable DMA1 clock
dmaHal
.
Init
.
Mode
=
DMA_NORMAL
;
//DMA_CIRCULAR; // // Normal = send buffer once
dmaHal
.
Init
.
Mode
=
DMA_NORMAL
;
//DMA_CIRCULAR; // // Normal = send buffer once
...
...
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