From 081ab35e82a47886504324c30c1984aa5ec83086 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 4 Mar 2018 21:13:23 -0600 Subject: [PATCH] Remove some trailing whitespace --- Marlin/I2CPositionEncoder.cpp | 2 +- Marlin/Marlin_main.cpp | 2 +- .../Creality/Ender-4/Configuration.h | 10 +++++----- .../delta/Hatchbox_Alpha/Configuration.h | 7 +++---- 4 files changed, 10 insertions(+), 11 deletions(-) diff --git a/Marlin/I2CPositionEncoder.cpp b/Marlin/I2CPositionEncoder.cpp index 22f8f100e..03c886e3a 100644 --- a/Marlin/I2CPositionEncoder.cpp +++ b/Marlin/I2CPositionEncoder.cpp @@ -180,7 +180,7 @@ errPrst[errPrstIdx++] = error; // Error must persist for I2CPE_ERR_PRST_ARRAY_SIZE error cycles. This also serves to improve the average accuracy if (errPrstIdx >= I2CPE_ERR_PRST_ARRAY_SIZE) { float sumP = 0; - LOOP_L_N(i, I2CPE_ERR_PRST_ARRAY_SIZE) sumP += errPrst[i]; + LOOP_L_N(i, I2CPE_ERR_PRST_ARRAY_SIZE) sumP += errPrst[i]; const int32_t errorP = int32_t(sumP * (1.0 / (I2CPE_ERR_PRST_ARRAY_SIZE))); SERIAL_ECHO(axis_codes[encoderAxis]); SERIAL_ECHOPAIR(" - err detected: ", errorP * planner.steps_to_mm[encoderAxis]); diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 1423a64f2..a493ff780 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -3475,7 +3475,7 @@ inline void gcode_G4() { */ inline void gcode_G10() { #if EXTRUDERS > 1 - const bool rs = parser.boolval('S'); + const bool rs = parser.boolval('S'); #endif fwretract.retract(true #if EXTRUDERS > 1 diff --git a/Marlin/example_configurations/Creality/Ender-4/Configuration.h b/Marlin/example_configurations/Creality/Ender-4/Configuration.h index fb3b67efc..1f583f407 100644 --- a/Marlin/example_configurations/Creality/Ender-4/Configuration.h +++ b/Marlin/example_configurations/Creality/Ender-4/Configuration.h @@ -416,17 +416,17 @@ #if ENABLED(PIDTEMPBED) //#define PID_BED_DEBUG // Sends debug data to the serial port. - - //Ender-4 + + // Ender-4 #define DEFAULT_bedKp 426.68 #define DEFAULT_bedKi 78.92 #define DEFAULT_bedKd 576.71 //120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+) //from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10) -// #define DEFAULT_bedKp 10.00 -// #define DEFAULT_bedKi .023 -// #define DEFAULT_bedKd 305.4 + //#define DEFAULT_bedKp 10.00 + //#define DEFAULT_bedKi .023 + //#define DEFAULT_bedKd 305.4 //120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+) //from pidautotune diff --git a/Marlin/example_configurations/delta/Hatchbox_Alpha/Configuration.h b/Marlin/example_configurations/delta/Hatchbox_Alpha/Configuration.h index cae83e5ea..58d45995c 100644 --- a/Marlin/example_configurations/delta/Hatchbox_Alpha/Configuration.h +++ b/Marlin/example_configurations/delta/Hatchbox_Alpha/Configuration.h @@ -388,7 +388,7 @@ //#define DEFAULT_Kp 63.0 //#define DEFAULT_Ki 2.25 //#define DEFAULT_Kd 440 - + // E3D-v6 #define DEFAULT_Kp 18.55 #define DEFAULT_Ki 2.71 @@ -433,13 +433,12 @@ //#define DEFAULT_bedKp 97.1 //#define DEFAULT_bedKi 1.41 //#define DEFAULT_bedKd 1675.16 - + //HatchBox Alpha #define DEFAULT_bedKp 72.11 #define DEFAULT_bedKi 7.1 #define DEFAULT_bedKd 488.31 - - + // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles. #endif // PIDTEMPBED