Fix MKS UI compile (#22388)

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 GitHub
parent 273ff6fedc
commit 67019bc277
8 changed files with 24 additions and 31 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