Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
q3k
firmware
Commits
663c22a6
Commit
663c22a6
authored
5 years ago
by
q3k
Browse files
Options
Downloads
Patches
Plain Diff
code style
parent
5f851420
No related branches found
No related tags found
No related merge requests found
Pipeline
#1553
passed
5 years ago
Stage: build
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
epicardium/modules/display.c
+1
-1
1 addition, 1 deletion
epicardium/modules/display.c
lib/gfx/GUI_DEV/DEV_Config.c
+72
-65
72 additions, 65 deletions
lib/gfx/GUI_DEV/DEV_Config.c
lib/gfx/LCD/LCD_Driver.c
+11
-10
11 additions, 10 deletions
lib/gfx/LCD/LCD_Driver.c
with
84 additions
and
76 deletions
epicardium/modules/display.c
+
1
−
1
View file @
663c22a6
This diff is collapsed.
Click to expand it.
lib/gfx/GUI_DEV/DEV_Config.c
+
72
−
65
View file @
663c22a6
...
@@ -36,7 +36,14 @@
...
@@ -36,7 +36,14 @@
//const gpio_cfg_t DEV_CS_PIN = {PORT_0, PIN_8, GPIO_FUNC_OUT, GPIO_PAD_NONE};
//const gpio_cfg_t DEV_CS_PIN = {PORT_0, PIN_8, GPIO_FUNC_OUT, GPIO_PAD_NONE};
//const gpio_cfg_t DEV_BL_PIN = {PORT_0, PIN_8, GPIO_FUNC_OUT, GPIO_PAD_NONE};
//const gpio_cfg_t DEV_BL_PIN = {PORT_0, PIN_8, GPIO_FUNC_OUT, GPIO_PAD_NONE};
static
spi_req_t
req
=
{.
rx_data
=
NULL
,
.
bits
=
8
,
.
width
=
SPI17Y_WIDTH_1
,
.
ssel
=
0
,
.
deass
=
1
,
.
ssel_pol
=
SPI17Y_POL_LOW
,
.
tx_num
=
0
,
.
rx_num
=
0
};
static
spi_req_t
req
=
{
.
rx_data
=
NULL
,
.
bits
=
8
,
.
width
=
SPI17Y_WIDTH_1
,
.
ssel
=
0
,
.
deass
=
1
,
.
ssel_pol
=
SPI17Y_POL_LOW
,
.
tx_num
=
0
,
.
rx_num
=
0
};
/********************************************************************************/
/********************************************************************************/
void
lcd_write_async
(
uint8_t
*
data
,
int
size
,
lcd_write_cb_t
wr_callback
)
void
lcd_write_async
(
uint8_t
*
data
,
int
size
,
lcd_write_cb_t
wr_callback
)
...
...
This diff is collapsed.
Click to expand it.
lib/gfx/LCD/LCD_Driver.c
+
11
−
10
View file @
663c22a6
...
@@ -336,6 +336,7 @@ int LCD_Update(void)
...
@@ -336,6 +336,7 @@ int LCD_Update(void)
return
0
;
return
0
;
}
}
frame_t
*
LCD_Framebuffer
(
void
)
{
frame_t
*
LCD_Framebuffer
(
void
)
{
return
frame
();
return
frame
();
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment