diff options
author | Gabor Kiss-Vamosi <kisvegabor@gmail.com> | 2023-11-27 11:46:23 +0100 |
---|---|---|
committer | Gabor Kiss-Vamosi <kisvegabor@gmail.com> | 2023-11-27 11:46:40 +0100 |
commit | a5c92ef29869ce4d06e1d466a24498b234c5c603 (patch) | |
tree | 9c77b191da1865db5431e7ab69214214f4cb7242 /tests/unity/unity_support.c | |
parent | 6e36f71f57d72c227b0d3d7d067f985dd8d87a1f (diff) | |
download | lvgl-a5c92ef29869ce4d06e1d466a24498b234c5c603.tar.gz lvgl-a5c92ef29869ce4d06e1d466a24498b234c5c603.zip |
feat(draw): add sw display rotate implementations
Diffstat (limited to 'tests/unity/unity_support.c')
-rw-r--r-- | tests/unity/unity_support.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unity/unity_support.c b/tests/unity/unity_support.c index 4e0338c07..a6c6f636a 100644 --- a/tests/unity/unity_support.c +++ b/tests/unity/unity_support.c @@ -128,7 +128,7 @@ static uint8_t screen_buf_xrgb8888[800 * 480 * 4]; static bool screenhot_compare(const char * fn_ref, const char * mode, uint8_t tolerance) { - char fn_ref_full[512]; + char fn_ref_full[256]; sprintf(fn_ref_full, "%s%s", REF_IMGS_PATH, fn_ref); lv_refr_now(NULL); @@ -186,11 +186,11 @@ static bool screenhot_compare(const char * fn_ref, const char * mode, uint8_t to } if(err) { - char fn_ref_no_ext[256]; + char fn_ref_no_ext[128]; strcpy(fn_ref_no_ext, fn_ref); fn_ref_no_ext[strlen(fn_ref_no_ext) - 4] = '\0'; - char fn_err_full[512]; + char fn_err_full[256]; sprintf(fn_err_full, "%s%s_err.png", REF_IMGS_PATH, fn_ref_no_ext); write_png_file(screen_buf_xrgb8888, 800, 480, fn_err_full); |