Fix some LVGL warnings

This commit is contained in:
Scott Lahteine 2020-07-19 22:06:45 -05:00
parent a847f37d43
commit 0a86291e66
2 changed files with 1 additions and 2 deletions

View File

@ -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);

View File

@ -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