Skip to content

Commit

Permalink
Fix some LVGL warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jul 20, 2020
1 parent a847f37 commit 0a86291
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Marlin/src/lcd/extui/lib/mks_ui/draw_ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,6 @@ void gcode_preview(char *path, int xpos_pixel, int ypos_pixel) {
volatile uint16_t *p_index;
//int res;
char *cur_name;
uint16_t Color;

cur_name = strrchr(path, '/');
card.openFileRead(cur_name);
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/lcd/extui/lib/mks_ui/tft_lvgl_configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ unsigned int getTickDiff(unsigned int curTick, unsigned int lastTick) {
#endif

#if USE_XPT2046
#ifndef XPT2046_HOR_RES 480
#ifndef XPT2046_HOR_RES
#define XPT2046_HOR_RES 480
#endif
#ifndef XPT2046_VER_RES
Expand Down

0 comments on commit 0a86291

Please sign in to comment.