mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
lv_tick_inc: update with 'tick_period' parameter
This commit is contained in:
parent
366ac0c03c
commit
b26bb2e5b7
@ -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) {
|
||||
|
@ -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(void)
|
||||
void lv_tick_inc(uint32_t tick_period)
|
||||
{
|
||||
tick_irq_flag = 0;
|
||||
sys_time++;
|
||||
|
@ -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(void);
|
||||
void lv_tick_inc(uint32_t tick_period);
|
||||
|
||||
/**
|
||||
* Get the elapsed milliseconds since start up
|
||||
|
Loading…
x
Reference in New Issue
Block a user