diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index 7ba3f6b1dc..ac1871a70d 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/default/Configuration_adv.h b/Marlin/src/config/default/Configuration_adv.h index fc916fb1c7..bab1d6f10b 100644 --- a/Marlin/src/config/default/Configuration_adv.h +++ b/Marlin/src/config/default/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h b/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h index df404bc963..111552b2c9 100644 --- a/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h +++ b/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/Anet/A6/Configuration_adv.h b/Marlin/src/config/examples/Anet/A6/Configuration_adv.h index c806397501..d67762e87b 100644 --- a/Marlin/src/config/examples/Anet/A6/Configuration_adv.h +++ b/Marlin/src/config/examples/Anet/A6/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/Anet/A8/Configuration_adv.h b/Marlin/src/config/examples/Anet/A8/Configuration_adv.h index fd623e2ade..dbe5efedc0 100644 --- a/Marlin/src/config/examples/Anet/A8/Configuration_adv.h +++ b/Marlin/src/config/examples/Anet/A8/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h b/Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h index fc916fb1c7..bab1d6f10b 100644 --- a/Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h +++ b/Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/BIBO/TouchX/Configuration_adv.h b/Marlin/src/config/examples/BIBO/TouchX/Configuration_adv.h index 77d3a66cd4..aac52e2054 100644 --- a/Marlin/src/config/examples/BIBO/TouchX/Configuration_adv.h +++ b/Marlin/src/config/examples/BIBO/TouchX/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h b/Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h index 8f1739340e..71388567d0 100644 --- a/Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h +++ b/Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h b/Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h index cf2fb10678..974edd4dba 100644 --- a/Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h +++ b/Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h b/Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h index 8f1739340e..71388567d0 100644 --- a/Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h +++ b/Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/Cartesio/Configuration_adv.h b/Marlin/src/config/examples/Cartesio/Configuration_adv.h index 79664de969..34e8002d40 100644 --- a/Marlin/src/config/examples/Cartesio/Configuration_adv.h +++ b/Marlin/src/config/examples/Cartesio/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h b/Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h index c977a25722..ed4fc45cdc 100755 --- a/Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h +++ b/Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h b/Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h index a25f178edd..4db326ad96 100644 --- a/Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h +++ b/Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h b/Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h index 35281cb8bb..5847b64279 100644 --- a/Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h +++ b/Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h b/Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h index 1f1d098412..fde0d7697b 100644 --- a/Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h +++ b/Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h b/Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h index 3210efca30..c630c91e14 100644 --- a/Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h +++ b/Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/Felix/Configuration_adv.h b/Marlin/src/config/examples/Felix/Configuration_adv.h index 64b086cdfe..2fe3c152eb 100644 --- a/Marlin/src/config/examples/Felix/Configuration_adv.h +++ b/Marlin/src/config/examples/Felix/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h b/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h index a0c2ee1dc0..c247d03605 100644 --- a/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h +++ b/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h b/Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h index 7cca4c5744..e8f327ae15 100644 --- a/Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h +++ b/Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h b/Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h index 50050f644a..87ce778592 100644 --- a/Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h +++ b/Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/MakerParts/Configuration_adv.h b/Marlin/src/config/examples/MakerParts/Configuration_adv.h index a38e1f637e..9ad5af25c9 100644 --- a/Marlin/src/config/examples/MakerParts/Configuration_adv.h +++ b/Marlin/src/config/examples/MakerParts/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/Malyan/M150/Configuration_adv.h b/Marlin/src/config/examples/Malyan/M150/Configuration_adv.h index d5903291d7..2b26a0816e 100644 --- a/Marlin/src/config/examples/Malyan/M150/Configuration_adv.h +++ b/Marlin/src/config/examples/Malyan/M150/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/Malyan/M200/Configuration_adv.h b/Marlin/src/config/examples/Malyan/M200/Configuration_adv.h index e5cd9d704e..3e7ba11a41 100644 --- a/Marlin/src/config/examples/Malyan/M200/Configuration_adv.h +++ b/Marlin/src/config/examples/Malyan/M200/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h b/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h index 76b031dc98..33e346acea 100644 --- a/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h +++ b/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h b/Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h index 7a730989cb..43a3604da7 100644 --- a/Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h +++ b/Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h @@ -673,6 +673,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/RigidBot/Configuration_adv.h b/Marlin/src/config/examples/RigidBot/Configuration_adv.h index 9327bd8452..96c1440887 100644 --- a/Marlin/src/config/examples/RigidBot/Configuration_adv.h +++ b/Marlin/src/config/examples/RigidBot/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/SCARA/Configuration_adv.h b/Marlin/src/config/examples/SCARA/Configuration_adv.h index 477125f2c5..4a9539978d 100644 --- a/Marlin/src/config/examples/SCARA/Configuration_adv.h +++ b/Marlin/src/config/examples/SCARA/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/Sanguinololu/Configuration_adv.h b/Marlin/src/config/examples/Sanguinololu/Configuration_adv.h index 1c3d171ba6..cfbf3c4fa5 100644 --- a/Marlin/src/config/examples/Sanguinololu/Configuration_adv.h +++ b/Marlin/src/config/examples/Sanguinololu/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/TheBorg/Configuration_adv.h b/Marlin/src/config/examples/TheBorg/Configuration_adv.h index f6ba57adb1..f405994ba9 100644 --- a/Marlin/src/config/examples/TheBorg/Configuration_adv.h +++ b/Marlin/src/config/examples/TheBorg/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/TinyBoy2/Configuration_adv.h b/Marlin/src/config/examples/TinyBoy2/Configuration_adv.h index a929a5d8f0..401ee6e7f1 100644 --- a/Marlin/src/config/examples/TinyBoy2/Configuration_adv.h +++ b/Marlin/src/config/examples/TinyBoy2/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h b/Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h index 547383ef87..c2268ac429 100644 --- a/Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h +++ b/Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h b/Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h index 1c995d619b..69b4a9ed17 100644 --- a/Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h +++ b/Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h @@ -678,6 +678,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h b/Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h index 3eba569efa..e21d0a27b4 100644 --- a/Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h +++ b/Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h b/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h index 50f293796f..14cbea988e 100644 --- a/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h +++ b/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h @@ -667,6 +667,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h b/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h index 232ff922b2..bf658f0eb7 100644 --- a/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h @@ -667,6 +667,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h b/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h index 232ff922b2..bf658f0eb7 100644 --- a/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h @@ -667,6 +667,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h b/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h index 9464493ca5..4db5c154e7 100644 --- a/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h @@ -667,6 +667,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/delta/generic/Configuration_adv.h b/Marlin/src/config/examples/delta/generic/Configuration_adv.h index 9464493ca5..4db5c154e7 100644 --- a/Marlin/src/config/examples/delta/generic/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/generic/Configuration_adv.h @@ -667,6 +667,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h b/Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h index 9464493ca5..4db5c154e7 100644 --- a/Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h @@ -667,6 +667,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h b/Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h index 753f2d5fcf..76f39d052d 100644 --- a/Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h @@ -672,6 +672,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h b/Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h index bfbecb9cc1..3b5d8c9ea1 100644 --- a/Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h +++ b/Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h @@ -667,6 +667,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h b/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h index 408f8b5c32..d9008103fd 100644 --- a/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h +++ b/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/makibox/Configuration_adv.h b/Marlin/src/config/examples/makibox/Configuration_adv.h index dafbc07cc8..be791ba700 100644 --- a/Marlin/src/config/examples/makibox/Configuration_adv.h +++ b/Marlin/src/config/examples/makibox/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h b/Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h index 8c0349f8be..a020d9551f 100644 --- a/Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h +++ b/Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h @@ -665,6 +665,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/config/examples/wt150/Configuration_adv.h b/Marlin/src/config/examples/wt150/Configuration_adv.h index 31ef272d01..106325a080 100644 --- a/Marlin/src/config/examples/wt150/Configuration_adv.h +++ b/Marlin/src/config/examples/wt150/Configuration_adv.h @@ -666,6 +666,9 @@ * Since LIGHTWEIGHT_UI has limited space, the position and status * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the * length of time to display the status message before clearing. + * + * Set STATUS_EXPIRE_SECONDS to zero to never clear the status. + * This will prevent position updates from being displayed. */ //#define LIGHTWEIGHT_UI #if ENABLED(LIGHTWEIGHT_UI) diff --git a/Marlin/src/lcd/dogm/status_screen_lite_ST7920.h b/Marlin/src/lcd/dogm/status_screen_lite_ST7920.h index 2b2e89e46d..125e1868f6 100644 --- a/Marlin/src/lcd/dogm/status_screen_lite_ST7920.h +++ b/Marlin/src/lcd/dogm/status_screen_lite_ST7920.h @@ -622,7 +622,7 @@ void ST7920_Lite_Status_Screen::draw_status_message(const char *str) { // Trim whitespace at the end of the str, as for some reason // messages like "Card Inserted" are padded with many spaces - while (str_len > 0 && str[str_len - 1] == ' ') str_len--; + while (str_len && str[str_len - 1] == ' ') str_len--; if (str_len <= lcd_len) { // It all fits on the LCD without scrolling @@ -765,8 +765,15 @@ bool ST7920_Lite_Status_Screen::blink_changed() { return true; } +#ifndef STATUS_EXPIRE_SECONDS + #define STATUS_EXPIRE_SECONDS 20 +#endif + void ST7920_Lite_Status_Screen::update_status_or_position(bool forceUpdate) { - static uint8_t countdown = 0; + + #if STATUS_EXPIRE_SECONDS + static uint8_t countdown = 0; + #endif /** * There is only enough room in the display for either the @@ -779,51 +786,60 @@ void ST7920_Lite_Status_Screen::update_status_or_position(bool forceUpdate) { * countdown > 1 -- Show status * countdown = 1 -- Show status, until movement * countdown = 0 -- Show position + * + * If STATUS_EXPIRE_SECONDS is zero, the position display + * will be disabled and only the status will be shown. */ if (forceUpdate || status_changed()) { #if ENABLED(STATUS_MESSAGE_SCROLLING) status_scroll_pos = 0; #endif - #ifndef STATUS_EXPIRE_SECONDS - #define STATUS_EXPIRE_SECONDS 20 + #if STATUS_EXPIRE_SECONDS + countdown = lcd_status_message[0] ? STATUS_EXPIRE_SECONDS : 0; #endif - countdown = lcd_strlen(lcd_status_message) ? STATUS_EXPIRE_SECONDS : 0; draw_status_message(lcd_status_message); blink_changed(); // Clear changed flag } - else if (countdown > 1 && blink_changed()) { - countdown--; + #if !STATUS_EXPIRE_SECONDS #if ENABLED(STATUS_MESSAGE_SCROLLING) - draw_status_message(lcd_status_message); + else + draw_status_message(lcd_status_message); #endif - } - else if (countdown > 0 && blink_changed()) { - if (position_changed()) { + #else + else if (countdown > 1 && blink_changed()) { countdown--; - forceUpdate = true; - } - #if ENABLED(STATUS_MESSAGE_SCROLLING) - draw_status_message(lcd_status_message); - #endif - } - if (countdown == 0 && (forceUpdate || position_changed() || - #if DISABLED(DISABLE_REDUCED_ACCURACY_WARNING) - blink_changed() - #endif - )) { - draw_position( - current_position[X_AXIS], - current_position[Y_AXIS], - current_position[Z_AXIS], - #if ENABLED(DISABLE_REDUCED_ACCURACY_WARNING) - true - #else - axis_known_position[X_AXIS] && - axis_known_position[Y_AXIS] && - axis_known_position[Z_AXIS] + #if ENABLED(STATUS_MESSAGE_SCROLLING) + draw_status_message(lcd_status_message); #endif - ); - } + } + else if (countdown > 0 && blink_changed()) { + if (position_changed()) { + countdown--; + forceUpdate = true; + } + #if ENABLED(STATUS_MESSAGE_SCROLLING) + draw_status_message(lcd_status_message); + #endif + } + if (countdown == 0 && (forceUpdate || position_changed() || + #if DISABLED(DISABLE_REDUCED_ACCURACY_WARNING) + blink_changed() + #endif + )) { + draw_position( + current_position[X_AXIS], + current_position[Y_AXIS], + current_position[Z_AXIS], + #if ENABLED(DISABLE_REDUCED_ACCURACY_WARNING) + true + #else + axis_known_position[X_AXIS] && + axis_known_position[Y_AXIS] && + axis_known_position[Z_AXIS] + #endif + ); + } + #endif } void ST7920_Lite_Status_Screen::update_progress(const bool forceUpdate) {