aboutsummaryrefslogtreecommitdiff
path: root/tests/unity/unity_support.c
diff options
context:
space:
mode:
authorGabor Kiss-Vamosi <kisvegabor@gmail.com>2023-10-11 21:33:23 +0200
committerGabor Kiss-Vamosi <kisvegabor@gmail.com>2023-10-11 21:33:23 +0200
commit8deea70049cf91e0113370d488dfdf9015397c4b (patch)
tree796655c43c609c0ae87c03337ce128ed17444815 /tests/unity/unity_support.c
parent17d0f568c87ad715a386fdbe494fa347712db37b (diff)
downloadlvgl-8deea70049cf91e0113370d488dfdf9015397c4b.tar.gz
lvgl-8deea70049cf91e0113370d488dfdf9015397c4b.zip
refactor(draw_buf): remove lv_draw_buf_t and make all functions work on void * buffer directly
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);