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
d068c85e
Commit
d068c85e
authored
Mar 07, 2018
by
Gabor Kiss-Vamosi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor updates on LV_ATTRIBUTE_...
parent
145ea416
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
lv_hal_tick.c
lv_hal/lv_hal_tick.c
+1
-1
lv_hal_tick.h
lv_hal/lv_hal_tick.h
+1
-1
lv_task.c
lv_misc/lv_task.c
+1
-1
lv_task.h
lv_misc/lv_task.h
+1
-1
No files found.
lv_hal/lv_hal_tick.c
View file @
d068c85e
...
...
@@ -40,7 +40,7 @@ static volatile uint8_t tick_irq_flag;
* You have to call this function periodically
* @param tick_period the call period of this function in milliseconds
*/
inline
void
LV_ATTRIBUTE_TICK_INC
lv_tick_inc
(
uint32_t
tick_period
)
LV_ATTRIBUTE_TICK_INC
void
lv_tick_inc
(
uint32_t
tick_period
)
{
tick_irq_flag
=
0
;
sys_time
+=
tick_period
;
...
...
lv_hal/lv_hal_tick.h
View file @
d068c85e
...
...
@@ -35,7 +35,7 @@ extern "C" {
* You have to call this function periodically
* @param tick_period the call period of this function in milliseconds
*/
void
lv_tick_inc
(
uint32_t
tick_period
);
LV_ATTRIBUTE_TICK_INC
void
lv_tick_inc
(
uint32_t
tick_period
);
/**
* Get the elapsed milliseconds since start up
...
...
lv_misc/lv_task.c
View file @
d068c85e
...
...
@@ -55,7 +55,7 @@ void lv_task_init(void)
/**
* Call it periodically to handle lv_tasks.
*/
inline
void
LV_ATTRIBUTE_TASK_HANDLER
lv_task_handler
(
void
)
LV_ATTRIBUTE_TASK_HANDLER
void
lv_task_handler
(
void
)
{
static
uint32_t
idle_period_start
=
0
;
static
uint32_t
handler_start
=
0
;
...
...
lv_misc/lv_task.h
View file @
d068c85e
...
...
@@ -67,7 +67,7 @@ void lv_task_init(void);
/**
* Call it periodically to handle lv_tasks.
*/
void
lv_task_handler
(
void
);
LV_ATTRIBUTE_TASK_HANDLER
void
lv_task_handler
(
void
);
/**
* Create a new lv_task
...
...
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