Skip to content

Commit

Permalink
Added version check for fallback field of the font, which has been ad…
Browse files Browse the repository at this point in the history
…ded in LVGL v8.2.0
  • Loading branch information
Maldus512 committed Apr 4, 2024
1 parent 79bf3d5 commit 7fdec02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/writers/lvgl/lv_table_head.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ lv_font_t ${f.font_name} = {
.underline_thickness = ${f.src.underlineThickness},
#endif
.dsc = &font_dsc, /*The custom font data. Will be accessed by \`get_glyph_bitmap/dsc\` */
#if LV_VERSION_CHECK(8, 2, 0) || LVGL_VERSION_MAJOR >= 9
.fallback = ${f.fallback},
#endif
.user_data = NULL,
};
`.trim();
Expand Down

0 comments on commit 7fdec02

Please sign in to comment.