Browse Source

Whitespace cleanup

Scott Lahteine 4 years ago
parent
commit
ecc8013812

+ 1
- 1
Marlin/src/lcd/dwin/dwin_lcd.h View File

205
 //  picIDe: Icon ending ID
205
 //  picIDe: Icon ending ID
206
 //  x/y: Upper-left point
206
 //  x/y: Upper-left point
207
 //  interval: Display time interval, unit 10mS
207
 //  interval: Display time interval, unit 10mS
208
-void DWIN_ICON_Animation(uint8_t animID, bool animate, uint8_t libID, uint8_t picIDs, 
208
+void DWIN_ICON_Animation(uint8_t animID, bool animate, uint8_t libID, uint8_t picIDs,
209
                          uint8_t picIDe, uint16_t x, uint16_t y, uint16_t interval);
209
                          uint8_t picIDe, uint16_t x, uint16_t y, uint16_t interval);
210
 
210
 
211
 // Animation Control
211
 // Animation Control

+ 1
- 1
Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/theme/colors.h View File

127
   #if ENABLED(TOUCH_UI_COCOA_PRESS)
127
   #if ENABLED(TOUCH_UI_COCOA_PRESS)
128
     constexpr uint32_t syringe_rgb          = 0xFFFFFF;
128
     constexpr uint32_t syringe_rgb          = 0xFFFFFF;
129
     constexpr uint32_t fluid_rgb            = accent_color_5;
129
     constexpr uint32_t fluid_rgb            = accent_color_5;
130
-  #else                                    
130
+  #else
131
     constexpr uint32_t syringe_rgb          = accent_color_5;
131
     constexpr uint32_t syringe_rgb          = accent_color_5;
132
     constexpr uint32_t fluid_rgb            = accent_color_3;
132
     constexpr uint32_t fluid_rgb            = accent_color_3;
133
   #endif
133
   #endif

+ 3
- 3
Marlin/src/module/stepper/trinamic.cpp View File

802
 }
802
 }
803
 
803
 
804
 // TMC Slave Address Conflict Detection
804
 // TMC Slave Address Conflict Detection
805
-// 
805
+//
806
 // Conflict detection is performed in the following way. Similar methods are used for
806
 // Conflict detection is performed in the following way. Similar methods are used for
807
 // hardware and software serial, but the implementations are indepenent.
807
 // hardware and software serial, but the implementations are indepenent.
808
-// 
808
+//
809
 // 1. Populate a data structure with UART parameters and addresses for all possible axis.
809
 // 1. Populate a data structure with UART parameters and addresses for all possible axis.
810
 //      If an axis is not in use, populate it with recognizable placeholder data.
810
 //      If an axis is not in use, populate it with recognizable placeholder data.
811
 // 2. For each axis in use, static_assert using a constexpr function, which counts the
811
 // 2. For each axis in use, static_assert using a constexpr function, which counts the
815
   // Hardware serial names are compared as strings, since actually resolving them cannot occur in a constexpr.
815
   // Hardware serial names are compared as strings, since actually resolving them cannot occur in a constexpr.
816
   // Using a fixed-length character array for the port name allows this to be constexpr compatible.
816
   // Using a fixed-length character array for the port name allows this to be constexpr compatible.
817
   struct SanityHwSerialDetails { const char port[20]; uint32_t address; };
817
   struct SanityHwSerialDetails { const char port[20]; uint32_t address; };
818
-  #define TMC_HW_DETAIL_ARGS(A) TERN(A##_HAS_HW_SERIAL, STRINGIFY(A##_HARDWARE_SERIAL), ""), TERN0(A##_HAS_HW_SERIAL, A##_SLAVE_ADDRESS)  
818
+  #define TMC_HW_DETAIL_ARGS(A) TERN(A##_HAS_HW_SERIAL, STRINGIFY(A##_HARDWARE_SERIAL), ""), TERN0(A##_HAS_HW_SERIAL, A##_SLAVE_ADDRESS)
819
   #define TMC_HW_DETAIL(A) {TMC_HW_DETAIL_ARGS(A)}
819
   #define TMC_HW_DETAIL(A) {TMC_HW_DETAIL_ARGS(A)}
820
   constexpr SanityHwSerialDetails sanity_tmc_hw_details[] = {
820
   constexpr SanityHwSerialDetails sanity_tmc_hw_details[] = {
821
     TMC_HW_DETAIL(X), TMC_HW_DETAIL(X2),
821
     TMC_HW_DETAIL(X), TMC_HW_DETAIL(X2),

Loading…
Cancel
Save