Skip to content

Commit 77a4804

Browse files
committed
🔧 Adjust DISABLE_* and DISABLE_INACTIVE_*
MarlinFirmware/Marlin#25422
1 parent d57207b commit 77a4804

File tree

643 files changed

+6124
-6430
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

643 files changed

+6124
-6430
lines changed

‎config/default/Configuration.h

+10-10
Original file line numberDiff line numberDiff line change
@@ -1681,22 +1681,22 @@
16811681

16821682
// Disable axis steppers immediately when they're not being stepped.
16831683
// WARNING: When motors turn off there is a chance of losing position accuracy!
1684-
#define DISABLE_X false
1685-
#define DISABLE_Y false
1686-
#define DISABLE_Z false
1687-
//#define DISABLE_I false
1688-
//#define DISABLE_J false
1689-
//#define DISABLE_K false
1690-
//#define DISABLE_U false
1691-
//#define DISABLE_V false
1692-
//#define DISABLE_W false
1684+
//#define DISABLE_X
1685+
//#define DISABLE_Y
1686+
//#define DISABLE_Z
1687+
//#define DISABLE_I
1688+
//#define DISABLE_J
1689+
//#define DISABLE_K
1690+
//#define DISABLE_U
1691+
//#define DISABLE_V
1692+
//#define DISABLE_W
16931693

16941694
// Turn off the display blinking that warns about possible accuracy reduction
16951695
//#define DISABLE_REDUCED_ACCURACY_WARNING
16961696

16971697
// @section extruder
16981698

1699-
#define DISABLE_E false // Disable the extruder when not stepping
1699+
//#define DISABLE_E // Disable the extruder when not stepping
17001700
#define DISABLE_INACTIVE_EXTRUDER // Keep only the active extruder enabled
17011701

17021702
// @section motion

‎config/default/Configuration_adv.h

+9-10
Original file line numberDiff line numberDiff line change
@@ -1122,16 +1122,15 @@
11221122
* The Deactive Time can be overridden with M18 and M84. Set to 0 for No Timeout.
11231123
*/
11241124
#define DEFAULT_STEPPER_DEACTIVE_TIME 120
1125-
#define DISABLE_INACTIVE_X true
1126-
#define DISABLE_INACTIVE_Y true
1127-
#define DISABLE_INACTIVE_Z true // Set 'false' if the nozzle could fall onto your printed part!
1128-
#define DISABLE_INACTIVE_I true
1129-
#define DISABLE_INACTIVE_J true
1130-
#define DISABLE_INACTIVE_K true
1131-
#define DISABLE_INACTIVE_U true
1132-
#define DISABLE_INACTIVE_V true
1133-
#define DISABLE_INACTIVE_W true
1134-
#define DISABLE_INACTIVE_E true
1125+
#define DISABLE_INACTIVE_X
1126+
#define DISABLE_INACTIVE_Y
1127+
#define DISABLE_INACTIVE_Z // Disable if the nozzle could fall onto your printed part!
1128+
//#define DISABLE_INACTIVE_I
1129+
//#define DISABLE_INACTIVE_J
1130+
//#define DISABLE_INACTIVE_K
1131+
//#define DISABLE_INACTIVE_U
1132+
//#define DISABLE_INACTIVE_V
1133+
//#define DISABLE_INACTIVE_W
11351134

11361135
// Default Minimum Feedrates for printing and travel moves
11371136
#define DEFAULT_MINIMUMFEEDRATE 0.0 // (mm/s) Minimum feedrate. Set with M205 S.

‎config/examples/3DFabXYZ/Migbot/Configuration.h

+10-10
Original file line numberDiff line numberDiff line change
@@ -1683,22 +1683,22 @@
16831683

16841684
// Disable axis steppers immediately when they're not being stepped.
16851685
// WARNING: When motors turn off there is a chance of losing position accuracy!
1686-
#define DISABLE_X false
1687-
#define DISABLE_Y false
1688-
#define DISABLE_Z false
1689-
//#define DISABLE_I false
1690-
//#define DISABLE_J false
1691-
//#define DISABLE_K false
1692-
//#define DISABLE_U false
1693-
//#define DISABLE_V false
1694-
//#define DISABLE_W false
1686+
//#define DISABLE_X
1687+
//#define DISABLE_Y
1688+
//#define DISABLE_Z
1689+
//#define DISABLE_I
1690+
//#define DISABLE_J
1691+
//#define DISABLE_K
1692+
//#define DISABLE_U
1693+
//#define DISABLE_V
1694+
//#define DISABLE_W
16951695

16961696
// Turn off the display blinking that warns about possible accuracy reduction
16971697
//#define DISABLE_REDUCED_ACCURACY_WARNING
16981698

16991699
// @section extruder
17001700

1701-
#define DISABLE_E false // Disable the extruder when not stepping
1701+
//#define DISABLE_E // Disable the extruder when not stepping
17021702
#define DISABLE_INACTIVE_EXTRUDER // Keep only the active extruder enabled
17031703

17041704
// @section motion

‎config/examples/3DFabXYZ/Migbot/Configuration_adv.h

+9-10
Original file line numberDiff line numberDiff line change
@@ -1122,16 +1122,15 @@
11221122
* The Deactive Time can be overridden with M18 and M84. Set to 0 for No Timeout.
11231123
*/
11241124
#define DEFAULT_STEPPER_DEACTIVE_TIME 120
1125-
#define DISABLE_INACTIVE_X true
1126-
#define DISABLE_INACTIVE_Y true
1127-
#define DISABLE_INACTIVE_Z true // Set 'false' if the nozzle could fall onto your printed part!
1128-
#define DISABLE_INACTIVE_I true
1129-
#define DISABLE_INACTIVE_J true
1130-
#define DISABLE_INACTIVE_K true
1131-
#define DISABLE_INACTIVE_U true
1132-
#define DISABLE_INACTIVE_V true
1133-
#define DISABLE_INACTIVE_W true
1134-
#define DISABLE_INACTIVE_E true
1125+
#define DISABLE_INACTIVE_X
1126+
#define DISABLE_INACTIVE_Y
1127+
#define DISABLE_INACTIVE_Z // Disable if the nozzle could fall onto your printed part!
1128+
//#define DISABLE_INACTIVE_I
1129+
//#define DISABLE_INACTIVE_J
1130+
//#define DISABLE_INACTIVE_K
1131+
//#define DISABLE_INACTIVE_U
1132+
//#define DISABLE_INACTIVE_V
1133+
//#define DISABLE_INACTIVE_W
11351134

11361135
// Default Minimum Feedrates for printing and travel moves
11371136
#define DEFAULT_MINIMUMFEEDRATE 0.0 // (mm/s) Minimum feedrate. Set with M205 S.

‎config/examples/ADIMLab/Gantry v1/Configuration.h

+10-10
Original file line numberDiff line numberDiff line change
@@ -1681,22 +1681,22 @@
16811681

16821682
// Disable axis steppers immediately when they're not being stepped.
16831683
// WARNING: When motors turn off there is a chance of losing position accuracy!
1684-
#define DISABLE_X false
1685-
#define DISABLE_Y false
1686-
#define DISABLE_Z false
1687-
//#define DISABLE_I false
1688-
//#define DISABLE_J false
1689-
//#define DISABLE_K false
1690-
//#define DISABLE_U false
1691-
//#define DISABLE_V false
1692-
//#define DISABLE_W false
1684+
//#define DISABLE_X
1685+
//#define DISABLE_Y
1686+
//#define DISABLE_Z
1687+
//#define DISABLE_I
1688+
//#define DISABLE_J
1689+
//#define DISABLE_K
1690+
//#define DISABLE_U
1691+
//#define DISABLE_V
1692+
//#define DISABLE_W
16931693

16941694
// Turn off the display blinking that warns about possible accuracy reduction
16951695
//#define DISABLE_REDUCED_ACCURACY_WARNING
16961696

16971697
// @section extruder
16981698

1699-
#define DISABLE_E false // Disable the extruder when not stepping
1699+
//#define DISABLE_E // Disable the extruder when not stepping
17001700
#define DISABLE_INACTIVE_EXTRUDER // Keep only the active extruder enabled
17011701

17021702
// @section motion

‎config/examples/ADIMLab/Gantry v1/Configuration_adv.h

+9-10
Original file line numberDiff line numberDiff line change
@@ -1122,16 +1122,15 @@
11221122
* The Deactive Time can be overridden with M18 and M84. Set to 0 for No Timeout.
11231123
*/
11241124
#define DEFAULT_STEPPER_DEACTIVE_TIME 120
1125-
#define DISABLE_INACTIVE_X true
1126-
#define DISABLE_INACTIVE_Y true
1127-
#define DISABLE_INACTIVE_Z true // Set 'false' if the nozzle could fall onto your printed part!
1128-
#define DISABLE_INACTIVE_I true
1129-
#define DISABLE_INACTIVE_J true
1130-
#define DISABLE_INACTIVE_K true
1131-
#define DISABLE_INACTIVE_U true
1132-
#define DISABLE_INACTIVE_V true
1133-
#define DISABLE_INACTIVE_W true
1134-
#define DISABLE_INACTIVE_E true
1125+
#define DISABLE_INACTIVE_X
1126+
#define DISABLE_INACTIVE_Y
1127+
#define DISABLE_INACTIVE_Z // Disable if the nozzle could fall onto your printed part!
1128+
//#define DISABLE_INACTIVE_I
1129+
//#define DISABLE_INACTIVE_J
1130+
//#define DISABLE_INACTIVE_K
1131+
//#define DISABLE_INACTIVE_U
1132+
//#define DISABLE_INACTIVE_V
1133+
//#define DISABLE_INACTIVE_W
11351134

11361135
// Default Minimum Feedrates for printing and travel moves
11371136
#define DEFAULT_MINIMUMFEEDRATE 0.0 // (mm/s) Minimum feedrate. Set with M205 S.

‎config/examples/ADIMLab/Gantry v2/Configuration.h

+10-10
Original file line numberDiff line numberDiff line change
@@ -1681,22 +1681,22 @@
16811681

16821682
// Disable axis steppers immediately when they're not being stepped.
16831683
// WARNING: When motors turn off there is a chance of losing position accuracy!
1684-
#define DISABLE_X false
1685-
#define DISABLE_Y false
1686-
#define DISABLE_Z false
1687-
//#define DISABLE_I false
1688-
//#define DISABLE_J false
1689-
//#define DISABLE_K false
1690-
//#define DISABLE_U false
1691-
//#define DISABLE_V false
1692-
//#define DISABLE_W false
1684+
//#define DISABLE_X
1685+
//#define DISABLE_Y
1686+
//#define DISABLE_Z
1687+
//#define DISABLE_I
1688+
//#define DISABLE_J
1689+
//#define DISABLE_K
1690+
//#define DISABLE_U
1691+
//#define DISABLE_V
1692+
//#define DISABLE_W
16931693

16941694
// Turn off the display blinking that warns about possible accuracy reduction
16951695
//#define DISABLE_REDUCED_ACCURACY_WARNING
16961696

16971697
// @section extruder
16981698

1699-
#define DISABLE_E false // Disable the extruder when not stepping
1699+
//#define DISABLE_E // Disable the extruder when not stepping
17001700
#define DISABLE_INACTIVE_EXTRUDER // Keep only the active extruder enabled
17011701

17021702
// @section motion

‎config/examples/ADIMLab/Gantry v2/Configuration_adv.h

+9-10
Original file line numberDiff line numberDiff line change
@@ -1122,16 +1122,15 @@
11221122
* The Deactive Time can be overridden with M18 and M84. Set to 0 for No Timeout.
11231123
*/
11241124
#define DEFAULT_STEPPER_DEACTIVE_TIME 120
1125-
#define DISABLE_INACTIVE_X true
1126-
#define DISABLE_INACTIVE_Y true
1127-
#define DISABLE_INACTIVE_Z true // Set 'false' if the nozzle could fall onto your printed part!
1128-
#define DISABLE_INACTIVE_I true
1129-
#define DISABLE_INACTIVE_J true
1130-
#define DISABLE_INACTIVE_K true
1131-
#define DISABLE_INACTIVE_U true
1132-
#define DISABLE_INACTIVE_V true
1133-
#define DISABLE_INACTIVE_W true
1134-
#define DISABLE_INACTIVE_E true
1125+
#define DISABLE_INACTIVE_X
1126+
#define DISABLE_INACTIVE_Y
1127+
#define DISABLE_INACTIVE_Z // Disable if the nozzle could fall onto your printed part!
1128+
//#define DISABLE_INACTIVE_I
1129+
//#define DISABLE_INACTIVE_J
1130+
//#define DISABLE_INACTIVE_K
1131+
//#define DISABLE_INACTIVE_U
1132+
//#define DISABLE_INACTIVE_V
1133+
//#define DISABLE_INACTIVE_W
11351134

11361135
// Default Minimum Feedrates for printing and travel moves
11371136
#define DEFAULT_MINIMUMFEEDRATE 0.0 // (mm/s) Minimum feedrate. Set with M205 S.

‎config/examples/Alfawise/U20-bltouch/Configuration.h

+10-10
Original file line numberDiff line numberDiff line change
@@ -1750,22 +1750,22 @@
17501750

17511751
// Disable axis steppers immediately when they're not being stepped.
17521752
// WARNING: When motors turn off there is a chance of losing position accuracy!
1753-
#define DISABLE_X false
1754-
#define DISABLE_Y false
1755-
#define DISABLE_Z false
1756-
//#define DISABLE_I false
1757-
//#define DISABLE_J false
1758-
//#define DISABLE_K false
1759-
//#define DISABLE_U false
1760-
//#define DISABLE_V false
1761-
//#define DISABLE_W false
1753+
//#define DISABLE_X
1754+
//#define DISABLE_Y
1755+
//#define DISABLE_Z
1756+
//#define DISABLE_I
1757+
//#define DISABLE_J
1758+
//#define DISABLE_K
1759+
//#define DISABLE_U
1760+
//#define DISABLE_V
1761+
//#define DISABLE_W
17621762

17631763
// Turn off the display blinking that warns about possible accuracy reduction
17641764
//#define DISABLE_REDUCED_ACCURACY_WARNING
17651765

17661766
// @section extruder
17671767

1768-
#define DISABLE_E false // Disable the extruder when not stepping
1768+
//#define DISABLE_E // Disable the extruder when not stepping
17691769
#define DISABLE_INACTIVE_EXTRUDER // Keep only the active extruder enabled
17701770

17711771
// @section motion

‎config/examples/Alfawise/U20-bltouch/Configuration_adv.h

+9-10
Original file line numberDiff line numberDiff line change
@@ -1131,16 +1131,15 @@
11311131
* The Deactive Time can be overridden with M18 and M84. Set to 0 for No Timeout.
11321132
*/
11331133
#define DEFAULT_STEPPER_DEACTIVE_TIME 120
1134-
#define DISABLE_INACTIVE_X true
1135-
#define DISABLE_INACTIVE_Y true
1136-
#define DISABLE_INACTIVE_Z true // Set 'false' if the nozzle could fall onto your printed part!
1137-
#define DISABLE_INACTIVE_I true
1138-
#define DISABLE_INACTIVE_J true
1139-
#define DISABLE_INACTIVE_K true
1140-
#define DISABLE_INACTIVE_U true
1141-
#define DISABLE_INACTIVE_V true
1142-
#define DISABLE_INACTIVE_W true
1143-
#define DISABLE_INACTIVE_E true
1134+
#define DISABLE_INACTIVE_X
1135+
#define DISABLE_INACTIVE_Y
1136+
#define DISABLE_INACTIVE_Z // Disable if the nozzle could fall onto your printed part!
1137+
//#define DISABLE_INACTIVE_I
1138+
//#define DISABLE_INACTIVE_J
1139+
//#define DISABLE_INACTIVE_K
1140+
//#define DISABLE_INACTIVE_U
1141+
//#define DISABLE_INACTIVE_V
1142+
//#define DISABLE_INACTIVE_W
11441143

11451144
// Default Minimum Feedrates for printing and travel moves
11461145
#define DEFAULT_MINIMUMFEEDRATE 0.0 // (mm/s) Minimum feedrate. Set with M205 S.

‎config/examples/Alfawise/U20/Configuration.h

+10-10
Original file line numberDiff line numberDiff line change
@@ -1751,22 +1751,22 @@
17511751

17521752
// Disable axis steppers immediately when they're not being stepped.
17531753
// WARNING: When motors turn off there is a chance of losing position accuracy!
1754-
#define DISABLE_X false
1755-
#define DISABLE_Y false
1756-
#define DISABLE_Z false
1757-
//#define DISABLE_I false
1758-
//#define DISABLE_J false
1759-
//#define DISABLE_K false
1760-
//#define DISABLE_U false
1761-
//#define DISABLE_V false
1762-
//#define DISABLE_W false
1754+
//#define DISABLE_X
1755+
//#define DISABLE_Y
1756+
//#define DISABLE_Z
1757+
//#define DISABLE_I
1758+
//#define DISABLE_J
1759+
//#define DISABLE_K
1760+
//#define DISABLE_U
1761+
//#define DISABLE_V
1762+
//#define DISABLE_W
17631763

17641764
// Turn off the display blinking that warns about possible accuracy reduction
17651765
//#define DISABLE_REDUCED_ACCURACY_WARNING
17661766

17671767
// @section extruder
17681768

1769-
#define DISABLE_E false // Disable the extruder when not stepping
1769+
//#define DISABLE_E // Disable the extruder when not stepping
17701770
#define DISABLE_INACTIVE_EXTRUDER // Keep only the active extruder enabled
17711771

17721772
// @section motion

‎config/examples/Alfawise/U20/Configuration_adv.h

+9-10
Original file line numberDiff line numberDiff line change
@@ -1122,16 +1122,15 @@
11221122
* The Deactive Time can be overridden with M18 and M84. Set to 0 for No Timeout.
11231123
*/
11241124
#define DEFAULT_STEPPER_DEACTIVE_TIME 120
1125-
#define DISABLE_INACTIVE_X true
1126-
#define DISABLE_INACTIVE_Y true
1127-
#define DISABLE_INACTIVE_Z true // Set 'false' if the nozzle could fall onto your printed part!
1128-
#define DISABLE_INACTIVE_I true
1129-
#define DISABLE_INACTIVE_J true
1130-
#define DISABLE_INACTIVE_K true
1131-
#define DISABLE_INACTIVE_U true
1132-
#define DISABLE_INACTIVE_V true
1133-
#define DISABLE_INACTIVE_W true
1134-
#define DISABLE_INACTIVE_E true
1125+
#define DISABLE_INACTIVE_X
1126+
#define DISABLE_INACTIVE_Y
1127+
#define DISABLE_INACTIVE_Z // Disable if the nozzle could fall onto your printed part!
1128+
//#define DISABLE_INACTIVE_I
1129+
//#define DISABLE_INACTIVE_J
1130+
//#define DISABLE_INACTIVE_K
1131+
//#define DISABLE_INACTIVE_U
1132+
//#define DISABLE_INACTIVE_V
1133+
//#define DISABLE_INACTIVE_W
11351134

11361135
// Default Minimum Feedrates for printing and travel moves
11371136
#define DEFAULT_MINIMUMFEEDRATE 0.0 // (mm/s) Minimum feedrate. Set with M205 S.

‎config/examples/AliExpress/CL-260/Configuration.h

+10-10
Original file line numberDiff line numberDiff line change
@@ -1681,22 +1681,22 @@
16811681

16821682
// Disable axis steppers immediately when they're not being stepped.
16831683
// WARNING: When motors turn off there is a chance of losing position accuracy!
1684-
#define DISABLE_X false
1685-
#define DISABLE_Y false
1686-
#define DISABLE_Z false
1687-
//#define DISABLE_I false
1688-
//#define DISABLE_J false
1689-
//#define DISABLE_K false
1690-
//#define DISABLE_U false
1691-
//#define DISABLE_V false
1692-
//#define DISABLE_W false
1684+
//#define DISABLE_X
1685+
//#define DISABLE_Y
1686+
//#define DISABLE_Z
1687+
//#define DISABLE_I
1688+
//#define DISABLE_J
1689+
//#define DISABLE_K
1690+
//#define DISABLE_U
1691+
//#define DISABLE_V
1692+
//#define DISABLE_W
16931693

16941694
// Turn off the display blinking that warns about possible accuracy reduction
16951695
//#define DISABLE_REDUCED_ACCURACY_WARNING
16961696

16971697
// @section extruder
16981698

1699-
#define DISABLE_E false // Disable the extruder when not stepping
1699+
//#define DISABLE_E // Disable the extruder when not stepping
17001700
#define DISABLE_INACTIVE_EXTRUDER // Keep only the active extruder enabled
17011701

17021702
// @section motion

0 commit comments

Comments
 (0)