1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

updae comments

This commit is contained in:
Gabor Kiss-Vamosi 2018-03-04 17:57:51 +01:00
parent 7b20da2276
commit 69eb3a9756
2 changed files with 0 additions and 3 deletions

View File

@ -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;

View File

@ -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;