Skip to content

Commit

Permalink
Fix lvgl version check, close lvgl#64
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaly Puzrin committed Jul 18, 2021
1 parent 71f8ba2 commit 2bf86d1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
1.5.2 / WIP
------------------

- Fixed lvgl version check for v8+, #64.


1.5.1 / 2021-04-06
------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/writers/lvgl/lv_table_head.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ lv_font_t ${f.font_name} = {
#if !(LVGL_VERSION_MAJOR == 6 && LVGL_VERSION_MINOR == 0)
.subpx = ${subpixels},
#endif
#if LV_VERSION_CHECK(7, 4, 0)
#if LV_VERSION_CHECK(7, 4, 0) || LVGL_VERSION_MAJOR >= 8
.underline_position = ${f.src.underlinePosition},
.underline_thickness = ${f.src.underlineThickness},
#endif
Expand Down

0 comments on commit 2bf86d1

Please sign in to comment.