BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lvgl
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
lvgl
Commits
b26bb2e5
Commit
b26bb2e5
authored
Nov 29, 2017
by
Gabor Kiss-Vamosi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lv_tick_inc: update with 'tick_period' parameter
parent
366ac0c0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
lv_draw_vbasic.c
lv_draw/lv_draw_vbasic.c
+1
-2
lv_hal_tick.c
lv_hal/lv_hal_tick.c
+3
-2
lv_hal_tick.h
lv_hal/lv_hal_tick.h
+3
-2
No files found.
lv_draw/lv_draw_vbasic.c
View file @
b26bb2e5
...
...
@@ -162,8 +162,7 @@ void lv_vfill(const lv_area_t * cords_p, const lv_area_t * mask_p,
}
}
/*Fill with opacity*/
else
{
else
{
/*Use hw blend if present*/
if
(
lv_disp_is_mem_blend_supported
())
{
if
(
color_map
[
0
].
full
!=
color
.
full
||
last_width
!=
w
)
{
...
...
lv_hal/lv_hal_tick.c
View file @
b26bb2e5
...
...
@@ -36,9 +36,10 @@ static volatile uint8_t tick_irq_flag;
**********************/
/**
* You have to call this function in every milliseconds
* You have to call this function periodically
* @param tick_period the call period of this function in milliseconds
*/
void
lv_tick_inc
(
voi
d
)
void
lv_tick_inc
(
uint32_t
tick_perio
d
)
{
tick_irq_flag
=
0
;
sys_time
++
;
...
...
lv_hal/lv_hal_tick.h
View file @
b26bb2e5
...
...
@@ -29,9 +29,10 @@ extern "C" {
**********************/
/**
* You have to call this function in every milliseconds
* You have to call this function periodically
* @param tick_period the call period of this function in milliseconds
*/
void
lv_tick_inc
(
voi
d
);
void
lv_tick_inc
(
uint32_t
tick_perio
d
);
/**
* Get the elapsed milliseconds since start up
...
...
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