🐛 Fix MKS UI compile (#22388, #22395)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
Malderin
2021-07-19 05:21:51 +03:00
committed by Scott Lahteine
parent 95f0970d85
commit f1161a9a5f
8 changed files with 92 additions and 98 deletions

View File

@ -52,7 +52,7 @@
#endif
#if ENABLED(MKS_TEST)
#include "mks_hardware_test.h"
#include "mks_hardware.h"
#endif
CFG_ITMES gCfgItems;
@ -1366,7 +1366,7 @@ void print_time_count() {
void LV_TASK_HANDLER() {
lv_task_handler();
#if ENABLED(MKS_TEST)
#if BOTH(MKS_TEST, SDSUPPORT)
if (mks_test_flag == 0x1E) mks_hardware_test();
#endif