BigW Consortium Gitlab

Commit b26bb2e5 by Gabor Kiss-Vamosi

lv_tick_inc: update with 'tick_period' parameter

parent 366ac0c0
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment