Browse Source

Missing header to use suicide() on LVGL UI (#20214)

Victor Oliveira 4 years ago
parent
commit
0e3d86579b
No account linked to committer's email address
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      Marlin/src/lcd/extui/lib/mks_ui/draw_set.cpp

+ 4
- 0
Marlin/src/lcd/extui/lib/mks_ui/draw_set.cpp View File

@@ -37,6 +37,10 @@
37 37
 #include "../../../../gcode/queue.h"
38 38
 #include "../../../../inc/MarlinConfig.h"
39 39
 
40
+#if HAS_SUICIDE
41
+  #include "../../../../MarlinCore.h"
42
+#endif
43
+
40 44
 static lv_obj_t *scr;
41 45
 extern lv_group_t*  g;
42 46
 

Loading…
Cancel
Save