fix(table) fix unused variable warning

This commit is contained in:
Gabor Kiss-Vamosi 2021-04-08 12:56:39 +02:00
parent b36345107c
commit 1eaf80f6ef

View File

@ -192,7 +192,7 @@ void lv_table_set_cell_value_fmt(lv_obj_t * obj, uint16_t row, uint16_t col, con
lv_coord_t minh = lv_obj_get_style_min_height(obj, LV_PART_ITEMS);
lv_coord_t maxh = lv_obj_get_style_max_height(obj, LV_PART_ITEMS);
table->row_h[row] = LV_CLAMP(minh, table->row_h[row], maxh);
table->row_h[row] = LV_CLAMP(minh, h, maxh);
}
void lv_table_set_row_cnt(lv_obj_t * obj, uint16_t row_cnt)