From d5141c4e03925c042850fbd5c94b87b259c7b731 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Fri, 5 Oct 2018 18:19:01 -0500 Subject: [PATCH] Fix up leading/trailing whitespace --- Marlin/src/HAL/HAL_AVR/MarlinSerial.h | 4 ++-- Marlin/src/HAL/HAL_DUE/MarlinSerial_Due.h | 7 +++---- .../src/config/examples/Formbot/Raptor/Configuration_adv.h | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Marlin/src/HAL/HAL_AVR/MarlinSerial.h b/Marlin/src/HAL/HAL_AVR/MarlinSerial.h index 4ddab4d6fc..459c552f3c 100644 --- a/Marlin/src/HAL/HAL_AVR/MarlinSerial.h +++ b/Marlin/src/HAL/HAL_AVR/MarlinSerial.h @@ -254,7 +254,7 @@ static void printNumber(unsigned long, const uint8_t); static void printFloat(double, uint8_t); }; - + template struct MarlinSerialCfg { static constexpr int PORT = serial; @@ -272,7 +272,7 @@ #ifdef SERIAL_PORT_2 extern MarlinSerial> customizedSerial2; - + #endif #endif // !USBCON diff --git a/Marlin/src/HAL/HAL_DUE/MarlinSerial_Due.h b/Marlin/src/HAL/HAL_DUE/MarlinSerial_Due.h index 6a95897b9c..1fe0d236ee 100644 --- a/Marlin/src/HAL/HAL_DUE/MarlinSerial_Due.h +++ b/Marlin/src/HAL/HAL_DUE/MarlinSerial_Due.h @@ -170,16 +170,15 @@ struct MarlinSerialCfg { static constexpr bool RX_FRAMING_ERRORS = bSERIAL_STATS_RX_FRAMING_ERRORS; static constexpr bool MAX_RX_QUEUED = bSERIAL_STATS_MAX_RX_QUEUED; }; - + #if SERIAL_PORT >= 0 extern MarlinSerial> customizedSerial1; - + #endif // SERIAL_PORT >= 0 #ifdef SERIAL_PORT_2 extern MarlinSerial> customizedSerial2; - -#endif +#endif diff --git a/Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h b/Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h index 3bd5048b40..dc5291355c 100644 --- a/Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h +++ b/Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h @@ -1607,7 +1607,7 @@ #define USER_SCRIPT_AUDIBLE_FEEDBACK #define USER_SCRIPT_RETURN // Return to status screen after a script - #define USER_DESC_1 "UBL Commission Step 1" + #define USER_DESC_1 "UBL Commission Step 1" #define USER_GCODE_1 "M502 \n M500 \n M501 \n M190 S75 \n G28 \n G29 P1 \n G29 S1 \n M117 Run Step 2 \n" #define USER_DESC_2 "UBL Commission Step 2"