BigW Consortium Gitlab

Commit 69eb3a97 by Gabor Kiss-Vamosi

updae comments

parent 7b20da22
......@@ -347,8 +347,6 @@ void lv_draw_label(const lv_area_t * coords,const lv_area_t * mask, const lv_sty
r = (hex_char_to_num(buf[0]) << 4) + hex_char_to_num(buf[1]);
g = (hex_char_to_num(buf[2]) << 4) + hex_char_to_num(buf[3]);
b = (hex_char_to_num(buf[4]) << 4) + hex_char_to_num(buf[5]);
// sscanf(buf, "%02x%02x%02x", &r, &g, &b);
recolor = LV_COLOR_MAKE(r, g, b);
} else {
recolor.full = style->text.color.full;
......
......@@ -354,7 +354,6 @@ static void lv_gauge_draw_scale(lv_obj_t * gauge, const lv_area_t * mask)
int16_t scale_act = (int32_t)((int32_t)(max - min) * i) / (label_num - 1);
scale_act += min;
lv_math_num_to_str(scale_act, scale_txt);
// sprintf(scale_txt, "%d", scale_act);
lv_area_t label_cord;
lv_point_t label_size;
......
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