Selaa lähdekoodia

Merge pull request #6403 from thinkyhead/rc_flsun_clean

FLSUN and trailing whitespace cleanup
Scott Lahteine 8 vuotta sitten
vanhempi
commit
c73b62447c

+ 7
- 8
Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration.h Näytä tiedosto

@@ -446,8 +446,6 @@
446 446
   // and processor overload (too many expensive sqrt calls).
447 447
   #define DELTA_SEGMENTS_PER_SECOND 160
448 448
 
449
-  // NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
450
-
451 449
   // Center-to-center distance of the holes in the diagonal push rods.
452 450
   #define DELTA_DIAGONAL_ROD 218.0 // mm
453 451
 
@@ -470,7 +468,6 @@
470 468
   #define DELTA_PRINTABLE_RADIUS 90.0
471 469
 
472 470
   // Delta calibration menu
473
-  // uncomment to add three points calibration menu option.
474 471
   // See http://minow.blogspot.com/index.html#4918805519571907051
475 472
   #define DELTA_CALIBRATION_MENU
476 473
 
@@ -670,6 +667,9 @@
670 667
  *   is enabled then it also applies to Z_PROBE_SPEED_SLOW.
671 668
  */
672 669
 
670
+// A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
671
+//#define SOLENOID_PROBE
672
+
673 673
 // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
674 674
 //#define Z_PROBE_SLED
675 675
 //#define SLED_DOCKING_OFFSET 5  // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
@@ -728,7 +728,7 @@
728 728
   #define Z_PROBE_ALLEN_KEY_DEPLOY_2_X 0.0
729 729
   #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Y DELTA_PRINTABLE_RADIUS
730 730
   #define Z_PROBE_ALLEN_KEY_DEPLOY_2_Z 100.0
731
-  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE (XY_PROBE_SPEED/10)
731
+  #define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE (XY_PROBE_SPEED)/10
732 732
 
733 733
   #define Z_PROBE_ALLEN_KEY_DEPLOY_3_X Z_PROBE_ALLEN_KEY_DEPLOY_2_X * 0.75
734 734
   #define Z_PROBE_ALLEN_KEY_DEPLOY_3_Y Z_PROBE_ALLEN_KEY_DEPLOY_2_Y * 0.75
@@ -864,11 +864,11 @@
864 864
 // @section machine
865 865
 
866 866
 // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
867
-#define INVERT_X_DIR true // DELTA does not invert
867
+#define INVERT_X_DIR true
868 868
 #define INVERT_Y_DIR true
869 869
 #define INVERT_Z_DIR true
870 870
 
871
-// Enable this option for Toshiba steppers
871
+// Enable this option for Toshiba stepper drivers
872 872
 //#define CONFIG_STEPPERS_TOSHIBA
873 873
 
874 874
 // @section extruder
@@ -987,6 +987,7 @@
987 987
 #if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
988 988
 
989 989
   // Set the number of grid points per dimension.
990
+  // Works best with 5 or more points in each dimension.
990 991
   #define GRID_MAX_POINTS_X 9
991 992
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
992 993
 
@@ -1004,7 +1005,6 @@
1004 1005
   //#define PROBE_Y_FIRST
1005 1006
 
1006 1007
   #if ENABLED(AUTO_BED_LEVELING_BILINEAR)
1007
-
1008 1008
     //
1009 1009
     // Experimental Subdivision of the grid by Catmull-Rom method.
1010 1010
     // Synthesizes intermediate points to produce a more detailed mesh.
@@ -1401,7 +1401,6 @@
1401 1401
 //
1402 1402
 // Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
1403 1403
 //
1404
-// INDIVIDUAL_AXIS_HOMING_MENU is incompatible with DELTA kinematics.
1405 1404
 //#define INDIVIDUAL_AXIS_HOMING_MENU
1406 1405
 
1407 1406
 //

+ 0
- 3
Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration.h Näytä tiedosto

@@ -446,8 +446,6 @@
446 446
   // and processor overload (too many expensive sqrt calls).
447 447
   #define DELTA_SEGMENTS_PER_SECOND 160
448 448
 
449
-  // NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
450
-
451 449
   // Center-to-center distance of the holes in the diagonal push rods.
452 450
   #define DELTA_DIAGONAL_ROD 218.0 // mm
453 451
 
@@ -1403,7 +1401,6 @@
1403 1401
 //
1404 1402
 // Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
1405 1403
 //
1406
-// INDIVIDUAL_AXIS_HOMING_MENU is incompatible with DELTA kinematics.
1407 1404
 //#define INDIVIDUAL_AXIS_HOMING_MENU
1408 1405
 
1409 1406
 //

+ 0
- 3
Marlin/example_configurations/delta/generic/Configuration.h Näytä tiedosto

@@ -436,8 +436,6 @@
436 436
   // and processor overload (too many expensive sqrt calls).
437 437
   #define DELTA_SEGMENTS_PER_SECOND 200
438 438
 
439
-  // NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
440
-
441 439
   // Center-to-center distance of the holes in the diagonal push rods.
442 440
   #define DELTA_DIAGONAL_ROD 250.0 // mm
443 441
 
@@ -701,7 +699,6 @@
701 699
 // Use double touch for probing
702 700
 //#define PROBE_DOUBLE_TOUCH
703 701
 
704
-
705 702
 /**
706 703
  * Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
707 704
  * Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.

+ 0
- 2
Marlin/example_configurations/delta/kossel_mini/Configuration.h Näytä tiedosto

@@ -436,8 +436,6 @@
436 436
   // and processor overload (too many expensive sqrt calls).
437 437
   #define DELTA_SEGMENTS_PER_SECOND 200
438 438
 
439
-  // NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
440
-
441 439
   // Center-to-center distance of the holes in the diagonal push rods.
442 440
   #define DELTA_DIAGONAL_ROD 215.0 // mm
443 441
 

+ 0
- 2
Marlin/example_configurations/delta/kossel_pro/Configuration.h Näytä tiedosto

@@ -423,8 +423,6 @@
423 423
   // and processor overload (too many expensive sqrt calls).
424 424
   #define DELTA_SEGMENTS_PER_SECOND 160
425 425
 
426
-  // NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
427
-
428 426
   // Center-to-center distance of the holes in the diagonal push rods.
429 427
   #define DELTA_DIAGONAL_ROD 301.0 // mm
430 428
 

+ 0
- 2
Marlin/example_configurations/delta/kossel_xl/Configuration.h Näytä tiedosto

@@ -441,8 +441,6 @@
441 441
   // and processor overload (too many expensive sqrt calls).
442 442
   #define DELTA_SEGMENTS_PER_SECOND 160
443 443
 
444
-  // NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
445
-
446 444
   // Center-to-center distance of the holes in the diagonal push rods.
447 445
   #define DELTA_DIAGONAL_ROD 317.3 + 2.5 // mm
448 446
 

+ 1
- 1
Marlin/ultralcd.cpp Näytä tiedosto

@@ -194,7 +194,7 @@ uint16_t max_display_update_time = 0;
194 194
   DECLARE_MENU_EDIT_TYPE(float, float52);
195 195
   DECLARE_MENU_EDIT_TYPE(float, float62);
196 196
   DECLARE_MENU_EDIT_TYPE(unsigned long, long5);
197
-  
197
+
198 198
   void menu_action_setting_edit_bool(const char* pstr, bool* ptr);
199 199
   void menu_action_setting_edit_callback_bool(const char* pstr, bool* ptr, screenFunc_t callbackFunc);
200 200
   void menu_action_setting_edit_accessor_bool(const char* pstr, bool (*pget)(), void (*pset)(bool));

+ 5
- 5
buildroot/share/cmake/CMakeLists.txt Näytä tiedosto

@@ -14,7 +14,7 @@ cmake_minimum_required(VERSION 2.8)
14 14
 #        cmake -G"Unix Makefiles" ..                                 #
15 15
 #        make                                                        #
16 16
 #====================================================================#
17
- 
17
+
18 18
 #====================================================================#
19 19
 # Download marlin-cmake scriptfiles if not already installed         #
20 20
 # and add the path to the module path                                #
@@ -26,13 +26,13 @@ if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/marlin-cmake)
26 26
 
27 27
 	file(DOWNLOAD https://github.com/tohara/marlin-cmake/archive/${SCRIPT_BRANCH}.tar.gz
28 28
 				  ${CMAKE_CURRENT_LIST_DIR}/marlin-cmake-src.tar.gz SHOW_PROGRESS)
29
-				  
29
+
30 30
 	execute_process(COMMAND ${CMAKE_COMMAND} -E tar -xvf ${CMAKE_CURRENT_LIST_DIR}/marlin-cmake-src.tar.gz WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
31
-				  
31
+
32 32
 	file(RENAME ${CMAKE_CURRENT_LIST_DIR}/marlin-cmake-${SCRIPT_BRANCH} ${CMAKE_CURRENT_LIST_DIR}/marlin-cmake)
33 33
 	file(REMOVE ${CMAKE_CURRENT_LIST_DIR}/marlin-cmake-src.tar.gz)
34
-    
35
-              
34
+
35
+
36 36
 endif()
37 37
 
38 38
 if(WIN32 AND NOT EXISTS ${CMAKE_BINARY_DIR}/make.exe)

+ 1
- 1
buildroot/share/scripts/MarlinMesh.scad Näytä tiedosto

@@ -115,7 +115,7 @@ module point_markers(show_home=true) {
115 115
           $fn=8;
116 116
           rotate([90,0])
117 117
             text(str(z), 6, label_font_lg, halign="center", valign="center");
118
-      
118
+
119 119
           translate([0,0,down?-6:6]) rotate([90,0])
120 120
             text(str(down ? "" : "+", v), 3, label_font_sm, halign="center", valign="center");
121 121
         }

+ 2
- 2
buildroot/share/scripts/createSpeedLookupTable.py Näytä tiedosto

@@ -30,7 +30,7 @@ for i in range(32):
30 30
     print "  ",
31 31
     for j in range(8):
32 32
         print "{%d, %d}," % (a[8*i+j], b[8*i+j]),
33
-    print 
33
+    print
34 34
 print "};"
35 35
 print
36 36
 
@@ -42,7 +42,7 @@ for i in range(32):
42 42
     print "  ",
43 43
     for j in range(8):
44 44
         print "{%d, %d}," % (a[8*i+j], b[8*i+j]),
45
-    print 
45
+    print
46 46
 print "};"
47 47
 print
48 48
 

Loading…
Peruuta
Tallenna