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
e48059a6
Commit
e48059a6
authored
Dec 29, 2020
by
Bodmer
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/Bodmer/TFT_eSPI
parents
1c4860de
a4e94634
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
Processors/TFT_eSPI_STM32.c
Processors/TFT_eSPI_STM32.c
+3
-1
User_Setups/Setup23_TTGO_TM.h
User_Setups/Setup23_TTGO_TM.h
+4
-0
No files found.
Processors/TFT_eSPI_STM32.c
View file @
e48059a6
...
@@ -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
...
...
User_Setups/Setup23_TTGO_TM.h
View file @
e48059a6
...
@@ -20,6 +20,10 @@
...
@@ -20,6 +20,10 @@
//#define TFT_RGB_ORDER TFT_RGB // Colour order Red-Green-Blue
//#define TFT_RGB_ORDER TFT_RGB // Colour order Red-Green-Blue
#define TFT_RGB_ORDER TFT_BGR // Colour order Blue-Green-Red
#define TFT_RGB_ORDER TFT_BGR // Colour order Blue-Green-Red
// Black and white swap option
//#define TFT_INVERSION_ON
#define TFT_INVERSION_OFF
#define LOAD_GLCD
#define LOAD_GLCD
#define LOAD_FONT2
#define LOAD_FONT2
#define LOAD_FONT4
#define LOAD_FONT4
...
...
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