chore: fix warning when log disable (#5018)

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
This commit is contained in:
_VIFEXTech
2023-12-15 23:03:08 +08:00
committed by GitHub
parent 9264b50c18
commit 6bdadad1f3
4 changed files with 4 additions and 1 deletions
@@ -30,6 +30,7 @@ static void engine_state_observer_cb(lv_observer_t * observer, lv_subject_t * su
LV_UNUSED(observer);
int32_t v = lv_subject_get_int(subject);
LV_UNUSED(v);
/*In a real application set/clear a pin here*/
LV_LOG_USER("Engine state: %d", v);
}