Home
last modified time | relevance | path

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

/lvgl-3.7.0/examples/widgets/chart/
Dlv_example_chart_8.c106 uint32_t int_sum = 0; in lv_example_chart_8() local
112 int_sum += (vals[series_index] * 100) / total; in lv_example_chart_8()
114 …32_t modifier = (round_fixed_point(decimal_sum, fixed_point_shift) >> fixed_point_shift) - int_sum; in lv_example_chart_8()
118 draw_heights[series_index] = int_sum + modifier; in lv_example_chart_8()
Dlv_example_chart_8.py103 int_sum = 0
109 int_sum += int((vals[series_index] * 100) / total)
111 … modifier = (round_fixed_point(decimal_sum, fixed_point_shift) >> fixed_point_shift) - int_sum
115 draw_heights[series_index] = int(int_sum + modifier)