fix warnings and make tests working

This commit is contained in:
Gabor Kiss-Vamosi
2021-02-14 22:07:38 +01:00
parent bb08660cb6
commit 02c19eacab
66 changed files with 1102 additions and 1187 deletions

View File

@@ -45,6 +45,7 @@ static void event_cb(lv_obj_t * obj, lv_event_t e)
static void add_data(lv_timer_t * timer)
{
LV_UNUSED(timer);
static uint32_t cnt = 0;
lv_chart_set_next_value(chart1, ser1, lv_rand(20, 90));

View File

@@ -3,6 +3,7 @@
static void event_cb(lv_obj_t * chart, lv_event_t e)
{
LV_UNUSED(chart);
if(e == LV_EVENT_DRAW_PART_BEGIN) {
lv_obj_draw_hook_dsc_t * hook_dsc = lv_event_get_param();
if(hook_dsc->part == LV_PART_MARKER && hook_dsc->sub_part_id == LV_CHART_AXIS_X) {