Browse Source

Suppress compile warning (#13612)

Ludy 6 years ago
parent
commit
c29820f649
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/lcd/menu/menu.cpp

+ 1
- 1
Marlin/src/lcd/menu/menu.cpp View File

@@ -59,7 +59,7 @@ int8_t encoderTopLine, encoderLine, screen_items;
59 59
 typedef struct {
60 60
   screenFunc_t menu_function;
61 61
   uint32_t encoder_position;
62
-  uint8_t top_line, items;
62
+  int8_t top_line, items;
63 63
 } menuPosition;
64 64
 menuPosition screen_history[6];
65 65
 uint8_t screen_history_depth = 0;

Loading…
Cancel
Save