add examples + refactoring

This commit is contained in:
Gabor Kiss-Vamosi
2021-02-12 14:22:48 +01:00
parent e0fb0db735
commit 95b1bd8409
38 changed files with 622 additions and 583 deletions

View File

@@ -176,10 +176,10 @@ void lv_test_assert_img_eq(const char * fn_ref, const char * s)
return;
#endif
#if LV_HOR_RES_MAX != 800 || LV_VER_RES_MAX != 480
lv_test_print(" SKIP: Can't compare '%s' because the resolution needs to be 800x480 (LV_HOR_RES_MAX, LV_VER_RES_MAX)", fn_ref);
if (LV_HOR_RES != 800 || LV_VER_RES != 480) {
lv_test_print(" SKIP: Can't compare '%s' because the resolution needs to be 800x480", fn_ref);
return;
#endif
}
char fn_ref_full[512];
sprintf(fn_ref_full, "%s%s", REF_IMGS_PATH, fn_ref);