fix(display): fix inconsistency in the API (#5136)

This commit is contained in:
Gabor Kiss-Vamosi
2024-01-11 06:38:24 +01:00
committed by GitHub
parent 0f3c9b4734
commit e10f573150
24 changed files with 56 additions and 63 deletions

View File

@@ -38,7 +38,7 @@ void test_win_should_have_valid_documented_default_values(void)
TEST_ASSERT_EQUAL(content, lv_obj_get_child(win, 1));
// Check that the header is correctly sized and empty
TEST_ASSERT_EQUAL(lv_display_get_dpi(lv_obj_get_disp(win)) / 2, lv_obj_get_height(header));
TEST_ASSERT_EQUAL(lv_display_get_dpi(lv_obj_get_display(win)) / 2, lv_obj_get_height(header));
TEST_ASSERT_EQUAL(0, lv_obj_get_child_count(header));
// Check that the content is empty