From 238f78d886446260737b90576d83dd4b9f30554a Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 18 Apr 2022 17:04:53 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Misc.=20cleanup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/examples/CTC/Bizer/Configuration.h | 4 +--- config/examples/FlashForge/Creator 2X/Configuration.h | 4 +--- config/examples/FlashForge/CreatorPro/Configuration.h | 4 +--- config/examples/MBot/Cube/Configuration.h | 4 +--- config/examples/Qidi/Qidi 1/Configuration.h | 4 +--- .../Ultimaker/Ultimaker Original (1.5.7)/Configuration.h | 2 +- .../Ultimaker/Ultimaker Original Plus (2.1.1)/Configuration.h | 2 +- config/examples/Wanhao/Duplicator 4S/Configuration.h | 4 +--- 8 files changed, 8 insertions(+), 20 deletions(-) diff --git a/config/examples/CTC/Bizer/Configuration.h b/config/examples/CTC/Bizer/Configuration.h index 0ba7832992..6f545ae920 100644 --- a/config/examples/CTC/Bizer/Configuration.h +++ b/config/examples/CTC/Bizer/Configuration.h @@ -940,9 +940,7 @@ * Override with M92 * X, Y, Z [, I [, J [, K]]], E0 [, E1[, E2...]] */ -// Really Sailfish... got enough precision on that float for an 8 bit system? -// I'm leaving this in for the sake of posterity.🤣 -#define DEFAULT_AXIS_STEPS_PER_UNIT { 94.139704, 94.139704, 400, 96.275201870333662468889989185642 } +#define DEFAULT_AXIS_STEPS_PER_UNIT { 94.139704, 94.139704, 400, 96.275201870 } /** * Default Max Feed Rate (mm/s) diff --git a/config/examples/FlashForge/Creator 2X/Configuration.h b/config/examples/FlashForge/Creator 2X/Configuration.h index 7059f2f530..6992cab5b1 100644 --- a/config/examples/FlashForge/Creator 2X/Configuration.h +++ b/config/examples/FlashForge/Creator 2X/Configuration.h @@ -940,9 +940,7 @@ * Override with M92 * X, Y, Z [, I [, J [, K]]], E0 [, E1[, E2...]] */ -// Really Sailfish... got enough precision on that float for an 8 bit system? -// I'm leaving this in for the sake of posterity. -#define DEFAULT_AXIS_STEPS_PER_UNIT { 94.139704, 94.139704, 400, 96.275201870333662468889989185642 } +#define DEFAULT_AXIS_STEPS_PER_UNIT { 94.139704, 94.139704, 400, 96.275201870 } /** * Default Max Feed Rate (mm/s) diff --git a/config/examples/FlashForge/CreatorPro/Configuration.h b/config/examples/FlashForge/CreatorPro/Configuration.h index abe278075b..f242a97ffb 100644 --- a/config/examples/FlashForge/CreatorPro/Configuration.h +++ b/config/examples/FlashForge/CreatorPro/Configuration.h @@ -940,9 +940,7 @@ * Override with M92 * X, Y, Z [, I [, J [, K]]], E0 [, E1[, E2...]] */ -// Really Sailfish... got enough precision on that float for an 8 bit system? -// I'm leaving this in for the sake of posterity. -#define DEFAULT_AXIS_STEPS_PER_UNIT { 94.139704, 94.139704, 400, 96.275201870333662468889989185642 } +#define DEFAULT_AXIS_STEPS_PER_UNIT { 94.139704, 94.139704, 400, 96.275201870 } /** * Default Max Feed Rate (mm/s) diff --git a/config/examples/MBot/Cube/Configuration.h b/config/examples/MBot/Cube/Configuration.h index 08ea987a5a..91a7e8a6eb 100644 --- a/config/examples/MBot/Cube/Configuration.h +++ b/config/examples/MBot/Cube/Configuration.h @@ -940,9 +940,7 @@ * Override with M92 * X, Y, Z [, I [, J [, K]]], E0 [, E1[, E2...]] */ -// Really Sailfish... got enough precision on that float for an 8 bit system? -// I'm leaving this in for the sake of posterity. -#define DEFAULT_AXIS_STEPS_PER_UNIT { 94.139704, 94.139704, 400, 96.275201870333662468889989185642 } +#define DEFAULT_AXIS_STEPS_PER_UNIT { 94.139704, 94.139704, 400, 96.275201870 } /** * Default Max Feed Rate (mm/s) diff --git a/config/examples/Qidi/Qidi 1/Configuration.h b/config/examples/Qidi/Qidi 1/Configuration.h index b4d81be149..0c3d8e0865 100644 --- a/config/examples/Qidi/Qidi 1/Configuration.h +++ b/config/examples/Qidi/Qidi 1/Configuration.h @@ -941,9 +941,7 @@ * Override with M92 * X, Y, Z [, I [, J [, K]]], E0 [, E1[, E2...]] */ -// Really Sailfish... got enough precision on that float for an 8 bit system? -// I'm leaving this in for the sake of posterity. -#define DEFAULT_AXIS_STEPS_PER_UNIT { 94.139704, 94.139704, 400, 96.275201870333662468889989185642 } +#define DEFAULT_AXIS_STEPS_PER_UNIT { 94.139704, 94.139704, 400, 96.275201870 } /** * Default Max Feed Rate (mm/s) diff --git a/config/examples/Ultimaker/Ultimaker Original (1.5.7)/Configuration.h b/config/examples/Ultimaker/Ultimaker Original (1.5.7)/Configuration.h index 19ce2443a3..3580dda219 100644 --- a/config/examples/Ultimaker/Ultimaker Original (1.5.7)/Configuration.h +++ b/config/examples/Ultimaker/Ultimaker Original (1.5.7)/Configuration.h @@ -940,7 +940,7 @@ * Override with M92 * X, Y, Z [, I [, J [, K]]], E0 [, E1[, E2...]] */ -#define DEFAULT_AXIS_STEPS_PER_UNIT {81.3800, 78.7900, 533.3333, 883.84346} // default { 78.7402, 78.7402, 533.3333, 876.6687 } +#define DEFAULT_AXIS_STEPS_PER_UNIT { 81.3800, 78.7900, 533.3333, 883.84346 } // default { 78.7402, 78.7402, 533.3333, 876.6687 } /** * Default Max Feed Rate (mm/s) diff --git a/config/examples/Ultimaker/Ultimaker Original Plus (2.1.1)/Configuration.h b/config/examples/Ultimaker/Ultimaker Original Plus (2.1.1)/Configuration.h index 5fb876ab0b..eeba1a0c1e 100644 --- a/config/examples/Ultimaker/Ultimaker Original Plus (2.1.1)/Configuration.h +++ b/config/examples/Ultimaker/Ultimaker Original Plus (2.1.1)/Configuration.h @@ -943,7 +943,7 @@ * Override with M92 * X, Y, Z [, I [, J [, K]]], E0 [, E1[, E2...]] */ -#define DEFAULT_AXIS_STEPS_PER_UNIT { 78.7402,78.7402,200.0,760*1.1 } +#define DEFAULT_AXIS_STEPS_PER_UNIT { 78.7402, 78.7402, 200.0, 760*1.1 } /** * Default Max Feed Rate (mm/s) diff --git a/config/examples/Wanhao/Duplicator 4S/Configuration.h b/config/examples/Wanhao/Duplicator 4S/Configuration.h index c2408fc161..91e6fe88fb 100644 --- a/config/examples/Wanhao/Duplicator 4S/Configuration.h +++ b/config/examples/Wanhao/Duplicator 4S/Configuration.h @@ -940,9 +940,7 @@ * Override with M92 * X, Y, Z [, I [, J [, K]]], E0 [, E1[, E2...]] */ -// Really Sailfish... got enough precision on that float for an 8 bit system? -// I'm leaving this in for the sake of posterity. -#define DEFAULT_AXIS_STEPS_PER_UNIT { 94.139704, 94.139704, 400, 96.275201870333662468889989185642 } +#define DEFAULT_AXIS_STEPS_PER_UNIT { 94.139704, 94.139704, 400, 96.275201870 } /** * Default Max Feed Rate (mm/s)