aboutsummaryrefslogtreecommitdiff
path: root/tests/unity/unity_support.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unity/unity_support.c')
-rw-r--r--tests/unity/unity_support.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unity/unity_support.c b/tests/unity/unity_support.c
index ce0217261..5ee0b950d 100644
--- a/tests/unity/unity_support.c
+++ b/tests/unity/unity_support.c
@@ -73,7 +73,7 @@ bool lv_test_assert_image_eq(const char * fn_ref)
lv_refr_now(NULL);
extern uint8_t * last_flushed_buf;
- uint8_t * screen_buf = lv_draw_buf_align_buf(last_flushed_buf, LV_COLOR_FORMAT_XRGB8888);
+ uint8_t * screen_buf = lv_draw_buf_align(last_flushed_buf, LV_COLOR_FORMAT_XRGB8888);
png_image_t p;
int res = read_png_file(&p, fn_ref_full);