fix(ESP): fix esp toolchain format specifier edge case (#9336)

This commit is contained in:
Liam Howatt
2025-12-02 13:34:26 +01:00
committed by GitHub
parent 221218d020
commit abddf4b49c
+2 -2
View File
@@ -758,7 +758,7 @@ lv_observer_t * lv_obj_bind_style_prop(lv_obj_t * obj, lv_style_prop_t prop, lv_
if(subject->type != LV_SUBJECT_TYPE_INT && subject->type != LV_SUBJECT_TYPE_COLOR &&
subject->type != LV_SUBJECT_TYPE_POINTER) {
LV_LOG_WARN("Subject type must be `int`, `color`, or `pointer` (was %"LV_PRIu32")", subject->type);
LV_LOG_WARN("Subject type must be `int`, `color`, or `pointer` (was %"LV_PRIu32")", (uint32_t) subject->type);
return NULL;
}
@@ -1317,7 +1317,7 @@ static void bind_style_prop_observer_cb(lv_observer_t * observer, lv_subject_t *
else if(subject->type == LV_SUBJECT_TYPE_COLOR) style_v.color = lv_subject_get_color(subject);
else if(subject->type == LV_SUBJECT_TYPE_POINTER) style_v.ptr = lv_subject_get_pointer(subject);
else {
LV_LOG_WARN("Not supported subject type (%"LV_PRIu32")", subject->type);
LV_LOG_WARN("Not supported subject type (%"LV_PRIu32")", (uint32_t) subject->type);
return;
}