Browse Source

Fix some LVGL warnings

Scott Lahteine 5 years ago
parent
commit
0a86291e66

+ 0
- 1
Marlin/src/lcd/extui/lib/mks_ui/draw_ui.cpp View File

400
     volatile uint16_t *p_index;
400
     volatile uint16_t *p_index;
401
     //int res;
401
     //int res;
402
     char *cur_name;
402
     char *cur_name;
403
-    uint16_t Color;
404
 
403
 
405
     cur_name = strrchr(path, '/');
404
     cur_name = strrchr(path, '/');
406
     card.openFileRead(cur_name);
405
     card.openFileRead(cur_name);

+ 1
- 1
Marlin/src/lcd/extui/lib/mks_ui/tft_lvgl_configuration.cpp View File

590
   #endif
590
   #endif
591
 
591
 
592
   #if USE_XPT2046
592
   #if USE_XPT2046
593
-    #ifndef XPT2046_HOR_RES   480
593
+    #ifndef XPT2046_HOR_RES
594
       #define XPT2046_HOR_RES   480
594
       #define XPT2046_HOR_RES   480
595
     #endif
595
     #endif
596
     #ifndef XPT2046_VER_RES
596
     #ifndef XPT2046_VER_RES

Loading…
Cancel
Save