Home
last modified time | relevance | path

Searched refs:range_midpoint (Results 1 – 1 of 1) sorted by relevance

/lvgl-latest/src/widgets/
Dlv_arc.c848 int16_t bg_midpoint, range_midpoint, bg_end = arc->bg_angle_end; in value_update() local
855 range_midpoint = (int32_t)(arc->min_value + arc->max_value) / 2; in value_update()
857 if(arc->value < range_midpoint) { in value_update()
858 … angle = lv_map(arc->value, arc->min_value, range_midpoint, arc->bg_angle_start, bg_midpoint); in value_update()
863 angle = lv_map(arc->value, range_midpoint, arc->max_value, bg_midpoint, bg_end); in value_update()