From 60b68f52284c5c1115c92acc39622b91478921d8 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Mon, 3 Jun 2024 22:41:56 +0200 Subject: [PATCH] Fix DGUS build by setting WAIT_MS_UNTIL_ACYCLIC_SEND globally --- Marlin/src/inc/Version.h | 2 +- Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/src/inc/Version.h b/Marlin/src/inc/Version.h index 27b0bde59c..e3944fe506 100644 --- a/Marlin/src/inc/Version.h +++ b/Marlin/src/inc/Version.h @@ -44,7 +44,7 @@ #define CUSTOM_BUILD_VERSION "1.5.4" #ifndef STRING_DISTRIBUTION_DATE - #define STRING_DISTRIBUTION_DATE "2024-05-29" + #define STRING_DISTRIBUTION_DATE "2024-06-03" #endif /** diff --git a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.h b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.h index c0c746e956..7adf17d1b6 100755 --- a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.h +++ b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.h @@ -28,6 +28,7 @@ #define TFT_MAX_CMD_SIZE 96 #define MSG_MY_VERSION CUSTOM_BUILD_VERSION #define MAX_PRINTABLE_FILENAME_LEN 26 +#define WAIT_MS_UNTIL_ACYCLIC_SEND 500 enum AnycubicMediaPrintState { AMPRINTSTATE_NOT_PRINTING, @@ -138,7 +139,6 @@ enum AnycubicMediaPauseState { #define SM_BLTZ_EXIT_L "" #define SM_HS_DISABLE_L "" #define SM_HS_ENABLE_L "" - #define WAIT_MS_UNTIL_ACYCLIC_SEND 500 #endif // !KNUTWURST_DGUS2_TFT #if ENABLED(KNUTWURST_DGUS2_TFT)