Fix up leading/trailing whitespace

This commit is contained in:
Scott Lahteine 2018-10-05 18:19:01 -05:00
parent 03fc4d31d0
commit d5141c4e03
3 changed files with 6 additions and 7 deletions

View file

@ -254,7 +254,7 @@
static void printNumber(unsigned long, const uint8_t); static void printNumber(unsigned long, const uint8_t);
static void printFloat(double, uint8_t); static void printFloat(double, uint8_t);
}; };
template <uint8_t serial> template <uint8_t serial>
struct MarlinSerialCfg { struct MarlinSerialCfg {
static constexpr int PORT = serial; static constexpr int PORT = serial;
@ -272,7 +272,7 @@
#ifdef SERIAL_PORT_2 #ifdef SERIAL_PORT_2
extern MarlinSerial<MarlinSerialCfg<SERIAL_PORT_2>> customizedSerial2; extern MarlinSerial<MarlinSerialCfg<SERIAL_PORT_2>> customizedSerial2;
#endif #endif
#endif // !USBCON #endif // !USBCON

View file

@ -170,16 +170,15 @@ struct MarlinSerialCfg {
static constexpr bool RX_FRAMING_ERRORS = bSERIAL_STATS_RX_FRAMING_ERRORS; static constexpr bool RX_FRAMING_ERRORS = bSERIAL_STATS_RX_FRAMING_ERRORS;
static constexpr bool MAX_RX_QUEUED = bSERIAL_STATS_MAX_RX_QUEUED; static constexpr bool MAX_RX_QUEUED = bSERIAL_STATS_MAX_RX_QUEUED;
}; };
#if SERIAL_PORT >= 0 #if SERIAL_PORT >= 0
extern MarlinSerial<MarlinSerialCfg<SERIAL_PORT>> customizedSerial1; extern MarlinSerial<MarlinSerialCfg<SERIAL_PORT>> customizedSerial1;
#endif // SERIAL_PORT >= 0 #endif // SERIAL_PORT >= 0
#ifdef SERIAL_PORT_2 #ifdef SERIAL_PORT_2
extern MarlinSerial<MarlinSerialCfg<SERIAL_PORT_2>> customizedSerial2; extern MarlinSerial<MarlinSerialCfg<SERIAL_PORT_2>> customizedSerial2;
#endif
#endif

View file

@ -1607,7 +1607,7 @@
#define USER_SCRIPT_AUDIBLE_FEEDBACK #define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_SCRIPT_RETURN // Return to status screen after a script #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_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" #define USER_DESC_2 "UBL Commission Step 2"