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

This commit is contained in:
Victor Oliveira 2020-11-19 23:09:33 -03:00 committed by GitHub
parent a26a21d19a
commit 0e3d86579b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,10 @@
#include "../../../../gcode/queue.h" #include "../../../../gcode/queue.h"
#include "../../../../inc/MarlinConfig.h" #include "../../../../inc/MarlinConfig.h"
#if HAS_SUICIDE
#include "../../../../MarlinCore.h"
#endif
static lv_obj_t *scr; static lv_obj_t *scr;
extern lv_group_t* g; extern lv_group_t* g;