From 6c752ff18019e5009146fcbed5bf5c8c28fbc53b 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 4d31608a97..1b7a69a6f5 100644 --- a/config/examples/CTC/Bizer/Configuration.h +++ b/config/examples/CTC/Bizer/Configuration.h @@ -1025,9 +1025,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 (linear=mm/s, rotational=°/s) diff --git a/config/examples/FlashForge/Creator 2X/Configuration.h b/config/examples/FlashForge/Creator 2X/Configuration.h index 801c8f57b5..93ad432f74 100644 --- a/config/examples/FlashForge/Creator 2X/Configuration.h +++ b/config/examples/FlashForge/Creator 2X/Configuration.h @@ -1025,9 +1025,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 (linear=mm/s, rotational=°/s) diff --git a/config/examples/FlashForge/CreatorPro/Configuration.h b/config/examples/FlashForge/CreatorPro/Configuration.h index f2f5c4aa30..f3d458459c 100644 --- a/config/examples/FlashForge/CreatorPro/Configuration.h +++ b/config/examples/FlashForge/CreatorPro/Configuration.h @@ -1025,9 +1025,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 (linear=mm/s, rotational=°/s) diff --git a/config/examples/MBot/Cube/Configuration.h b/config/examples/MBot/Cube/Configuration.h index df30d42769..74648e07f8 100644 --- a/config/examples/MBot/Cube/Configuration.h +++ b/config/examples/MBot/Cube/Configuration.h @@ -1025,9 +1025,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 (linear=mm/s, rotational=°/s) diff --git a/config/examples/Qidi/Qidi 1/Configuration.h b/config/examples/Qidi/Qidi 1/Configuration.h index d59e8070c8..045735983c 100644 --- a/config/examples/Qidi/Qidi 1/Configuration.h +++ b/config/examples/Qidi/Qidi 1/Configuration.h @@ -1026,9 +1026,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 (linear=mm/s, rotational=°/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 0014a2f786..eaeb98830a 100644 --- a/config/examples/Ultimaker/Ultimaker Original (1.5.7)/Configuration.h +++ b/config/examples/Ultimaker/Ultimaker Original (1.5.7)/Configuration.h @@ -1025,7 +1025,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 (linear=mm/s, rotational=°/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 0f94043bfa..f0320e5e79 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 @@ -1028,7 +1028,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 (linear=mm/s, rotational=°/s) diff --git a/config/examples/Wanhao/Duplicator 4S/Configuration.h b/config/examples/Wanhao/Duplicator 4S/Configuration.h index 77ed9b9a0f..ed466caa1b 100644 --- a/config/examples/Wanhao/Duplicator 4S/Configuration.h +++ b/config/examples/Wanhao/Duplicator 4S/Configuration.h @@ -1025,9 +1025,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 (linear=mm/s, rotational=°/s)