瀏覽代碼

Merge pull request #8168 from thinkyhead/bf2_config_tweak

[2.0.x] Apply Re-ARM SPI review items
Scott Lahteine 7 年之前
父節點
當前提交
0b02f9cc33
沒有連結到貢獻者的電子郵件帳戶。
共有 47 個檔案被更改,包括 111 行新增155 行删除
  1. 2
    2
      Marlin/Configuration.h
  2. 2
    2
      Marlin/src/config/default/Configuration.h
  3. 2
    2
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
  4. 2
    2
      Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
  5. 6
    6
      Marlin/src/config/examples/Anet/A6/Configuration.h
  6. 2
    2
      Marlin/src/config/examples/Anet/A8/Configuration.h
  7. 2
    2
      Marlin/src/config/examples/BQ/Hephestos/Configuration.h
  8. 2
    2
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h
  9. 2
    2
      Marlin/src/config/examples/BQ/WITBOX/Configuration.h
  10. 2
    2
      Marlin/src/config/examples/Cartesio/Configuration.h
  11. 2
    2
      Marlin/src/config/examples/Creality/CR-10/Configuration.h
  12. 2
    2
      Marlin/src/config/examples/Felix/Configuration.h
  13. 2
    2
      Marlin/src/config/examples/Felix/DUAL/Configuration.h
  14. 2
    2
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h
  15. 2
    2
      Marlin/src/config/examples/Geeetech/GT2560/Configuration.h
  16. 2
    2
      Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
  17. 2
    2
      Marlin/src/config/examples/Infitary/i3-M508/Configuration.h
  18. 2
    2
      Marlin/src/config/examples/Malyan/M150/Configuration.h
  19. 2
    2
      Marlin/src/config/examples/Micromake/C1/basic/Configuration.h
  20. 2
    2
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h
  21. 2
    2
      Marlin/src/config/examples/Mks/Sbase/Configuration.h
  22. 2
    2
      Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h
  23. 2
    2
      Marlin/src/config/examples/RigidBot/Configuration.h
  24. 2
    2
      Marlin/src/config/examples/SCARA/Configuration.h
  25. 2
    2
      Marlin/src/config/examples/Sanguinololu/Configuration.h
  26. 2
    2
      Marlin/src/config/examples/TinyBoy2/Configuration.h
  27. 2
    2
      Marlin/src/config/examples/Velleman/K8200/Configuration.h
  28. 2
    2
      Marlin/src/config/examples/Velleman/K8400/Configuration.h
  29. 2
    2
      Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h
  30. 2
    2
      Marlin/src/config/examples/adafruit/ST7565/Configuration.h
  31. 2
    2
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h
  32. 2
    2
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h
  33. 2
    2
      Marlin/src/config/examples/delta/generic/Configuration.h
  34. 2
    2
      Marlin/src/config/examples/delta/kossel_mini/Configuration.h
  35. 2
    2
      Marlin/src/config/examples/delta/kossel_pro/Configuration.h
  36. 2
    2
      Marlin/src/config/examples/delta/kossel_xl/Configuration.h
  37. 2
    2
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h
  38. 2
    2
      Marlin/src/config/examples/makibox/Configuration.h
  39. 2
    2
      Marlin/src/config/examples/stm32f103ret6/Configuration.h
  40. 2
    2
      Marlin/src/config/examples/tvrrug/Round2/Configuration.h
  41. 2
    2
      Marlin/src/config/examples/wt150/Configuration.h
  42. 23
    0
      Marlin/src/inc/Conditionals_post.h
  43. 2
    3
      Marlin/src/lcd/ultralcd.cpp
  44. 0
    19
      Marlin/src/pins/pins_AZSMZ_MINI.h
  45. 0
    19
      Marlin/src/pins/pins_MKS_SBASE.h
  46. 0
    18
      Marlin/src/pins/pins_RAMPS_RE_ARM.h
  47. 0
    10
      Marlin/src/sd/SdFatConfig.h

+ 2
- 2
Marlin/Configuration.h 查看文件

1010
 //#define Z_SAFE_HOMING
1010
 //#define Z_SAFE_HOMING
1011
 
1011
 
1012
 #if ENABLED(Z_SAFE_HOMING)
1012
 #if ENABLED(Z_SAFE_HOMING)
1013
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1014
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1013
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1014
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1015
 #endif
1015
 #endif
1016
 
1016
 
1017
 // Homing speeds (mm/m)
1017
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/default/Configuration.h 查看文件

1010
 //#define Z_SAFE_HOMING
1010
 //#define Z_SAFE_HOMING
1011
 
1011
 
1012
 #if ENABLED(Z_SAFE_HOMING)
1012
 #if ENABLED(Z_SAFE_HOMING)
1013
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1014
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1013
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1014
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1015
 #endif
1015
 #endif
1016
 
1016
 
1017
 // Homing speeds (mm/m)
1017
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h 查看文件

1030
 //#define Z_SAFE_HOMING
1030
 //#define Z_SAFE_HOMING
1031
 
1031
 
1032
 #if ENABLED(Z_SAFE_HOMING)
1032
 #if ENABLED(Z_SAFE_HOMING)
1033
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1034
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1033
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1034
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1035
 #endif
1035
 #endif
1036
 
1036
 
1037
 // Homing speeds (mm/m)
1037
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/AliExpress/CL-260/Configuration.h 查看文件

1010
 //#define Z_SAFE_HOMING
1010
 //#define Z_SAFE_HOMING
1011
 
1011
 
1012
 #if ENABLED(Z_SAFE_HOMING)
1012
 #if ENABLED(Z_SAFE_HOMING)
1013
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1014
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1013
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1014
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1015
 #endif
1015
 #endif
1016
 
1016
 
1017
 // Homing speeds (mm/m)
1017
 // Homing speeds (mm/m)

+ 6
- 6
Marlin/src/config/examples/Anet/A6/Configuration.h 查看文件

1158
 #define Z_SAFE_HOMING
1158
 #define Z_SAFE_HOMING
1159
 
1159
 
1160
 #if ENABLED(Z_SAFE_HOMING)
1160
 #if ENABLED(Z_SAFE_HOMING)
1161
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1162
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1161
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1162
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1163
 
1163
 
1164
   //Anet A6 with new X-Axis
1164
   //Anet A6 with new X-Axis
1165
-  //#define Z_SAFE_HOMING_X_POINT 113    // X point for Z homing when homing all axis (G28).
1166
-  //#define Z_SAFE_HOMING_Y_POINT 112    // Y point for Z homing when homing all axis (G28).
1165
+  //#define Z_SAFE_HOMING_X_POINT 113    // X point for Z homing when homing all axes (G28).
1166
+  //#define Z_SAFE_HOMING_Y_POINT 112    // Y point for Z homing when homing all axes (G28).
1167
 
1167
 
1168
   //Anet A6 with new X-Axis and defined X_HOME_POS -7, Y_HOME_POS -6
1168
   //Anet A6 with new X-Axis and defined X_HOME_POS -7, Y_HOME_POS -6
1169
-  //#define Z_SAFE_HOMING_X_POINT 107    // X point for Z homing when homing all axis (G28).
1170
-  //#define Z_SAFE_HOMING_Y_POINT 107    // Y point for Z homing when homing all axis (G28).
1169
+  //#define Z_SAFE_HOMING_X_POINT 107    // X point for Z homing when homing all axes (G28).
1170
+  //#define Z_SAFE_HOMING_Y_POINT 107    // Y point for Z homing when homing all axes (G28).
1171
 
1171
 
1172
 #endif
1172
 #endif
1173
 
1173
 

+ 2
- 2
Marlin/src/config/examples/Anet/A8/Configuration.h 查看文件

1016
 //#define Z_SAFE_HOMING
1016
 //#define Z_SAFE_HOMING
1017
 
1017
 
1018
 #if ENABLED(Z_SAFE_HOMING)
1018
 #if ENABLED(Z_SAFE_HOMING)
1019
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1020
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1019
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1020
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1021
 #endif
1021
 #endif
1022
 
1022
 
1023
 // Homing speeds (mm/m)
1023
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/BQ/Hephestos/Configuration.h 查看文件

1001
 //#define Z_SAFE_HOMING
1001
 //#define Z_SAFE_HOMING
1002
 
1002
 
1003
 #if ENABLED(Z_SAFE_HOMING)
1003
 #if ENABLED(Z_SAFE_HOMING)
1004
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1005
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1004
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1005
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1006
 #endif
1006
 #endif
1007
 
1007
 
1008
 // Homing speeds (mm/m)
1008
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h 查看文件

1011
 #define Z_SAFE_HOMING
1011
 #define Z_SAFE_HOMING
1012
 
1012
 
1013
 #if ENABLED(Z_SAFE_HOMING)
1013
 #if ENABLED(Z_SAFE_HOMING)
1014
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1015
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1014
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1015
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1016
 #endif
1016
 #endif
1017
 
1017
 
1018
 // Homing speeds (mm/m)
1018
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/BQ/WITBOX/Configuration.h 查看文件

1001
 //#define Z_SAFE_HOMING
1001
 //#define Z_SAFE_HOMING
1002
 
1002
 
1003
 #if ENABLED(Z_SAFE_HOMING)
1003
 #if ENABLED(Z_SAFE_HOMING)
1004
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1005
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1004
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1005
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1006
 #endif
1006
 #endif
1007
 
1007
 
1008
 // Homing speeds (mm/m)
1008
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Cartesio/Configuration.h 查看文件

1009
 //#define Z_SAFE_HOMING
1009
 //#define Z_SAFE_HOMING
1010
 
1010
 
1011
 #if ENABLED(Z_SAFE_HOMING)
1011
 #if ENABLED(Z_SAFE_HOMING)
1012
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1013
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1012
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1013
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1014
 #endif
1014
 #endif
1015
 
1015
 
1016
 // Homing speeds (mm/m)
1016
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Creality/CR-10/Configuration.h 查看文件

1020
 //#define Z_SAFE_HOMING
1020
 //#define Z_SAFE_HOMING
1021
 
1021
 
1022
 #if ENABLED(Z_SAFE_HOMING)
1022
 #if ENABLED(Z_SAFE_HOMING)
1023
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1024
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1023
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1024
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1025
 #endif
1025
 #endif
1026
 
1026
 
1027
 // Homing speeds (mm/m)
1027
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Felix/Configuration.h 查看文件

992
 //#define Z_SAFE_HOMING
992
 //#define Z_SAFE_HOMING
993
 
993
 
994
 #if ENABLED(Z_SAFE_HOMING)
994
 #if ENABLED(Z_SAFE_HOMING)
995
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
996
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
995
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
996
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
997
 #endif
997
 #endif
998
 
998
 
999
 // Homing speeds (mm/m)
999
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Felix/DUAL/Configuration.h 查看文件

992
 //#define Z_SAFE_HOMING
992
 //#define Z_SAFE_HOMING
993
 
993
 
994
 #if ENABLED(Z_SAFE_HOMING)
994
 #if ENABLED(Z_SAFE_HOMING)
995
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
996
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
995
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
996
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
997
 #endif
997
 #endif
998
 
998
 
999
 // Homing speeds (mm/m)
999
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h 查看文件

1007
 #define Z_SAFE_HOMING
1007
 #define Z_SAFE_HOMING
1008
 
1008
 
1009
 #if ENABLED(Z_SAFE_HOMING)
1009
 #if ENABLED(Z_SAFE_HOMING)
1010
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1011
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1010
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1011
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1012
 #endif
1012
 #endif
1013
 
1013
 
1014
 // Homing speeds (mm/m)
1014
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Geeetech/GT2560/Configuration.h 查看文件

1025
 //#define Z_SAFE_HOMING
1025
 //#define Z_SAFE_HOMING
1026
 
1026
 
1027
 #if ENABLED(Z_SAFE_HOMING)
1027
 #if ENABLED(Z_SAFE_HOMING)
1028
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1029
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1028
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1029
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1030
 #endif
1030
 #endif
1031
 
1031
 
1032
 // Homing speeds (mm/m)
1032
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h 查看文件

1010
 //#define Z_SAFE_HOMING
1010
 //#define Z_SAFE_HOMING
1011
 
1011
 
1012
 #if ENABLED(Z_SAFE_HOMING)
1012
 #if ENABLED(Z_SAFE_HOMING)
1013
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1014
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1013
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1014
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1015
 #endif
1015
 #endif
1016
 
1016
 
1017
 // Homing speeds (mm/m)
1017
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Infitary/i3-M508/Configuration.h 查看文件

1014
 //#define Z_SAFE_HOMING
1014
 //#define Z_SAFE_HOMING
1015
 
1015
 
1016
 #if ENABLED(Z_SAFE_HOMING)
1016
 #if ENABLED(Z_SAFE_HOMING)
1017
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1018
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1017
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1018
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1019
 #endif
1019
 #endif
1020
 
1020
 
1021
 // Homing speeds (mm/m)
1021
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Malyan/M150/Configuration.h 查看文件

1038
 //#define Z_SAFE_HOMING
1038
 //#define Z_SAFE_HOMING
1039
 
1039
 
1040
 #if ENABLED(Z_SAFE_HOMING)
1040
 #if ENABLED(Z_SAFE_HOMING)
1041
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1042
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1041
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1042
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1043
 #endif
1043
 #endif
1044
 
1044
 
1045
 // Homing speeds (mm/m)
1045
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Micromake/C1/basic/Configuration.h 查看文件

1014
 //#define Z_SAFE_HOMING
1014
 //#define Z_SAFE_HOMING
1015
 
1015
 
1016
 #if ENABLED(Z_SAFE_HOMING)
1016
 #if ENABLED(Z_SAFE_HOMING)
1017
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1018
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1017
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1018
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1019
 #endif
1019
 #endif
1020
 
1020
 
1021
 // Homing speeds (mm/m)
1021
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h 查看文件

1014
 //#define Z_SAFE_HOMING
1014
 //#define Z_SAFE_HOMING
1015
 
1015
 
1016
 #if ENABLED(Z_SAFE_HOMING)
1016
 #if ENABLED(Z_SAFE_HOMING)
1017
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1018
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1017
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1018
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1019
 #endif
1019
 #endif
1020
 
1020
 
1021
 // Homing speeds (mm/m)
1021
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Mks/Sbase/Configuration.h 查看文件

1012
 #define Z_SAFE_HOMING
1012
 #define Z_SAFE_HOMING
1013
 
1013
 
1014
 #if ENABLED(Z_SAFE_HOMING)
1014
 #if ENABLED(Z_SAFE_HOMING)
1015
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1016
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1015
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1016
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1017
 #endif
1017
 #endif
1018
 
1018
 
1019
 // Homing speeds (mm/m)
1019
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h 查看文件

1010
 //#define Z_SAFE_HOMING
1010
 //#define Z_SAFE_HOMING
1011
 
1011
 
1012
 #if ENABLED(Z_SAFE_HOMING)
1012
 #if ENABLED(Z_SAFE_HOMING)
1013
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1014
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1013
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1014
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1015
 #endif
1015
 #endif
1016
 
1016
 
1017
 // Homing speeds (mm/m)
1017
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/RigidBot/Configuration.h 查看文件

1008
 //#define Z_SAFE_HOMING
1008
 //#define Z_SAFE_HOMING
1009
 
1009
 
1010
 #if ENABLED(Z_SAFE_HOMING)
1010
 #if ENABLED(Z_SAFE_HOMING)
1011
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1012
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1011
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1012
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1013
 #endif
1013
 #endif
1014
 
1014
 
1015
 // Homing speeds (mm/m)
1015
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/SCARA/Configuration.h 查看文件

1022
 //#define Z_SAFE_HOMING
1022
 //#define Z_SAFE_HOMING
1023
 
1023
 
1024
 #if ENABLED(Z_SAFE_HOMING)
1024
 #if ENABLED(Z_SAFE_HOMING)
1025
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1026
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1025
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1026
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1027
 #endif
1027
 #endif
1028
 
1028
 
1029
 // Homing speeds (mm/m)
1029
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Sanguinololu/Configuration.h 查看文件

1041
 //#define Z_SAFE_HOMING
1041
 //#define Z_SAFE_HOMING
1042
 
1042
 
1043
 #if ENABLED(Z_SAFE_HOMING)
1043
 #if ENABLED(Z_SAFE_HOMING)
1044
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1045
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1044
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1045
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1046
 #endif
1046
 #endif
1047
 
1047
 
1048
 // Homing speeds (mm/m)
1048
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/TinyBoy2/Configuration.h 查看文件

1066
 //#define Z_SAFE_HOMING
1066
 //#define Z_SAFE_HOMING
1067
 
1067
 
1068
 #if ENABLED(Z_SAFE_HOMING)
1068
 #if ENABLED(Z_SAFE_HOMING)
1069
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1070
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1069
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1070
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1071
 #endif
1071
 #endif
1072
 
1072
 
1073
 // Homing speeds (mm/m)
1073
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Velleman/K8200/Configuration.h 查看文件

1040
 //#define Z_SAFE_HOMING
1040
 //#define Z_SAFE_HOMING
1041
 
1041
 
1042
 #if ENABLED(Z_SAFE_HOMING)
1042
 #if ENABLED(Z_SAFE_HOMING)
1043
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1044
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1043
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1044
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1045
 #endif
1045
 #endif
1046
 
1046
 
1047
 // Homing speeds (mm/m)
1047
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Velleman/K8400/Configuration.h 查看文件

1010
 //#define Z_SAFE_HOMING
1010
 //#define Z_SAFE_HOMING
1011
 
1011
 
1012
 #if ENABLED(Z_SAFE_HOMING)
1012
 #if ENABLED(Z_SAFE_HOMING)
1013
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1014
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1013
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1014
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1015
 #endif
1015
 #endif
1016
 
1016
 
1017
 // Homing speeds (mm/m)
1017
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h 查看文件

1010
 //#define Z_SAFE_HOMING
1010
 //#define Z_SAFE_HOMING
1011
 
1011
 
1012
 #if ENABLED(Z_SAFE_HOMING)
1012
 #if ENABLED(Z_SAFE_HOMING)
1013
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1014
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1013
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1014
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1015
 #endif
1015
 #endif
1016
 
1016
 
1017
 // Homing speeds (mm/m)
1017
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/adafruit/ST7565/Configuration.h 查看文件

1010
 //#define Z_SAFE_HOMING
1010
 //#define Z_SAFE_HOMING
1011
 
1011
 
1012
 #if ENABLED(Z_SAFE_HOMING)
1012
 #if ENABLED(Z_SAFE_HOMING)
1013
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1014
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1013
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1014
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1015
 #endif
1015
 #endif
1016
 
1016
 
1017
 // Homing speeds (mm/m)
1017
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h 查看文件

1144
 //#define Z_SAFE_HOMING
1144
 //#define Z_SAFE_HOMING
1145
 
1145
 
1146
 #if ENABLED(Z_SAFE_HOMING)
1146
 #if ENABLED(Z_SAFE_HOMING)
1147
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1148
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1147
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1148
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1149
 #endif
1149
 #endif
1150
 
1150
 
1151
 // Delta only homes to Z
1151
 // Delta only homes to Z

+ 2
- 2
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h 查看文件

1138
 //#define Z_SAFE_HOMING
1138
 //#define Z_SAFE_HOMING
1139
 
1139
 
1140
 #if ENABLED(Z_SAFE_HOMING)
1140
 #if ENABLED(Z_SAFE_HOMING)
1141
-  #define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2)    // X point for Z homing when homing all axis (G28).
1142
-  #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).
1141
+  #define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2)    // X point for Z homing when homing all axes (G28).
1142
+  #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axes (G28).
1143
 #endif
1143
 #endif
1144
 
1144
 
1145
 // Delta only homes to Z
1145
 // Delta only homes to Z

+ 2
- 2
Marlin/src/config/examples/delta/generic/Configuration.h 查看文件

1133
 //#define Z_SAFE_HOMING
1133
 //#define Z_SAFE_HOMING
1134
 
1134
 
1135
 #if ENABLED(Z_SAFE_HOMING)
1135
 #if ENABLED(Z_SAFE_HOMING)
1136
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1137
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1136
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1137
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1138
 #endif
1138
 #endif
1139
 
1139
 
1140
 // Delta only homes to Z
1140
 // Delta only homes to Z

+ 2
- 2
Marlin/src/config/examples/delta/kossel_mini/Configuration.h 查看文件

1136
 //#define Z_SAFE_HOMING
1136
 //#define Z_SAFE_HOMING
1137
 
1137
 
1138
 #if ENABLED(Z_SAFE_HOMING)
1138
 #if ENABLED(Z_SAFE_HOMING)
1139
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1140
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1139
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1140
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1141
 #endif
1141
 #endif
1142
 
1142
 
1143
 // Delta only homes to Z
1143
 // Delta only homes to Z

+ 2
- 2
Marlin/src/config/examples/delta/kossel_pro/Configuration.h 查看文件

1136
 #define Z_SAFE_HOMING
1136
 #define Z_SAFE_HOMING
1137
 
1137
 
1138
 #if ENABLED(Z_SAFE_HOMING)
1138
 #if ENABLED(Z_SAFE_HOMING)
1139
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1140
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1139
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1140
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1141
 #endif
1141
 #endif
1142
 
1142
 
1143
 // Delta only homes to Z
1143
 // Delta only homes to Z

+ 2
- 2
Marlin/src/config/examples/delta/kossel_xl/Configuration.h 查看文件

1145
 //#define Z_SAFE_HOMING
1145
 //#define Z_SAFE_HOMING
1146
 
1146
 
1147
 #if ENABLED(Z_SAFE_HOMING)
1147
 #if ENABLED(Z_SAFE_HOMING)
1148
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1149
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1148
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1149
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1150
 #endif
1150
 #endif
1151
 
1151
 
1152
 // Delta only homes to Z
1152
 // Delta only homes to Z

+ 2
- 2
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h 查看文件

1024
 #define Z_SAFE_HOMING
1024
 #define Z_SAFE_HOMING
1025
 
1025
 
1026
 #if ENABLED(Z_SAFE_HOMING)
1026
 #if ENABLED(Z_SAFE_HOMING)
1027
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2 - 4) // X point for Z homing when homing all axis (G28).
1028
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2 + 4) // Y point for Z homing when homing all axis (G28).
1027
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2 - 4) // X point for Z homing when homing all axes (G28).
1028
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2 + 4) // Y point for Z homing when homing all axes (G28).
1029
 #endif
1029
 #endif
1030
 
1030
 
1031
 // Homing speeds (mm/m)
1031
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/makibox/Configuration.h 查看文件

1013
 //#define Z_SAFE_HOMING
1013
 //#define Z_SAFE_HOMING
1014
 
1014
 
1015
 #if ENABLED(Z_SAFE_HOMING)
1015
 #if ENABLED(Z_SAFE_HOMING)
1016
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1017
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1016
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1017
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1018
 #endif
1018
 #endif
1019
 
1019
 
1020
 // Homing speeds (mm/m)
1020
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/stm32f103ret6/Configuration.h 查看文件

1013
 //#define Z_SAFE_HOMING
1013
 //#define Z_SAFE_HOMING
1014
 
1014
 
1015
 #if ENABLED(Z_SAFE_HOMING)
1015
 #if ENABLED(Z_SAFE_HOMING)
1016
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1017
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1016
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1017
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1018
 #endif
1018
 #endif
1019
 
1019
 
1020
 // Homing speeds (mm/m)
1020
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/tvrrug/Round2/Configuration.h 查看文件

1005
 //#define Z_SAFE_HOMING
1005
 //#define Z_SAFE_HOMING
1006
 
1006
 
1007
 #if ENABLED(Z_SAFE_HOMING)
1007
 #if ENABLED(Z_SAFE_HOMING)
1008
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1009
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1008
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1009
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1010
 #endif
1010
 #endif
1011
 
1011
 
1012
 // Homing speeds (mm/m)
1012
 // Homing speeds (mm/m)

+ 2
- 2
Marlin/src/config/examples/wt150/Configuration.h 查看文件

1015
 //#define Z_SAFE_HOMING
1015
 //#define Z_SAFE_HOMING
1016
 
1016
 
1017
 #if ENABLED(Z_SAFE_HOMING)
1017
 #if ENABLED(Z_SAFE_HOMING)
1018
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axis (G28).
1019
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axis (G28).
1018
+  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1019
+  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1020
 #endif
1020
 #endif
1021
 
1021
 
1022
 // Homing speeds (mm/m)
1022
 // Homing speeds (mm/m)

+ 23
- 0
Marlin/src/inc/Conditionals_post.h 查看文件

1162
   #define NOT_A_PIN 0 // For PINS_DEBUGGING
1162
   #define NOT_A_PIN 0 // For PINS_DEBUGGING
1163
 #endif
1163
 #endif
1164
 
1164
 
1165
+// Number of VFAT entries used. Each entry has 13 UTF-16 characters
1166
+#if ENABLED(SCROLL_LONG_FILENAMES)
1167
+  #define MAX_VFAT_ENTRIES (5)
1168
+#else
1169
+  #define MAX_VFAT_ENTRIES (2)
1170
+#endif
1171
+
1172
+// Force SDCARD_SORT_ALPHA to be enabled for Graphical LCD on LPC1768
1173
+// because of a bug in the shared SPI implementation. (See #8122)
1174
+#if defined(TARGET_LPC1768) && ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
1175
+  #define SDCARD_SORT_ALPHA         // Keeps one directory level in RAM. Changing
1176
+                                    // directory levels still glitches the screen,
1177
+                                    // but the following LCD update cleans it up.
1178
+  #undef SDSORT_LIMIT
1179
+  #undef SDSORT_USES_RAM
1180
+  #undef SDSORT_USES_STACK
1181
+  #undef SDSORT_CACHE_NAMES
1182
+  #define SDSORT_LIMIT       256    // Maximum number of sorted items (10-256). Costs 27 bytes each.
1183
+  #define SDSORT_USES_RAM    true   // Pre-allocate a static array for faster pre-sorting.
1184
+  #define SDSORT_USES_STACK  false  // Prefer the stack for pre-sorting to give back some SRAM. (Negated by next 2 options.)
1185
+  #define SDSORT_CACHE_NAMES true   // Keep sorted items in RAM longer for speedy performance. Most expensive option.
1186
+#endif
1187
+
1165
 #endif // CONDITIONALS_POST_H
1188
 #endif // CONDITIONALS_POST_H

+ 2
- 3
Marlin/src/lcd/ultralcd.cpp 查看文件

3775
     void lcd_sdcard_menu() {
3775
     void lcd_sdcard_menu() {
3776
       ENCODER_DIRECTION_MENUS();
3776
       ENCODER_DIRECTION_MENUS();
3777
 
3777
 
3778
-      const uint16_t fileCnt = card.get_num_Files();  // Only access SD card if sort not active
3779
-                                                      // This minimizes garbage on RepRap Discount Full Graphics Smart Controller
3780
-                                                      // when using the Re-ARM card.
3778
+      const uint16_t fileCnt = card.get_num_Files();
3779
+
3781
       START_MENU();
3780
       START_MENU();
3782
       MENU_BACK(MSG_MAIN);
3781
       MENU_BACK(MSG_MAIN);
3783
       card.getWorkDirName();
3782
       card.getWorkDirName();

+ 0
- 19
Marlin/src/pins/pins_AZSMZ_MINI.h 查看文件

112
 #define ENET_TXD0          P1_0
112
 #define ENET_TXD0          P1_0
113
 #define ENET_TXD1          P1_1
113
 #define ENET_TXD1          P1_1
114
 
114
 
115
-
116
-#if (ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) && !defined(SDCARD_SORT_ALPHA)) // needed because of shared SPI
117
-  #define SDCARD_SORT_ALPHA         // Using SORT feature to keep one directory level in RAM
118
-                                    // When going up/down directory levels the SD card is
119
-                                    // accessed but the garbage/lines are removed when the
120
-                                    // LCD updates
121
-
122
-  #define SDSORT_LIMIT       256    // Maximum number of sorted items (10-256). Costs 27 bytes each.
123
-  #define FOLDER_SORTING     -1     // -1=above  0=none  1=below
124
-  #define SDSORT_GCODE       false  // Allow turning sorting on/off with LCD and M34 g-code.
125
-  #define SDSORT_USES_RAM    true   // Pre-allocate a static array for faster pre-sorting.
126
-  #define SDSORT_USES_STACK  false  // Prefer the stack for pre-sorting to give back some SRAM. (Negated by next 2 options.)
127
-  #define SDSORT_CACHE_NAMES true   // Keep sorted items in RAM longer for speedy performance. Most expensive option.
128
-  #define SDSORT_DYNAMIC_RAM false  // Use dynamic allocation (within SD menus). Least expensive option. Set SDSORT_LIMIT before use!
129
-  #define SDSORT_CACHE_VFATS 2      // Maximum number of 13-byte VFAT entries to use for sorting.
130
-                                    // Note: Only affects SCROLL_LONG_FILENAMES with SDSORT_CACHE_NAMES but not SDSORT_DYNAMIC_RAM.
131
-  #define MAX_VFAT_ENTRIES SDSORT_CACHE_VFATS
132
-#endif
133
-
134
 /**
115
 /**
135
  *  PWMs
116
  *  PWMs
136
  *
117
  *

+ 0
- 19
Marlin/src/pins/pins_MKS_SBASE.h 查看文件

174
 #define ENET_TXD0          P1_0   // J12-11
174
 #define ENET_TXD0          P1_0   // J12-11
175
 #define ENET_TXD1          P1_1   // J12-12
175
 #define ENET_TXD1          P1_1   // J12-12
176
 
176
 
177
-
178
-#if (ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) && !defined(SDCARD_SORT_ALPHA)) // needed because of shared SPI
179
-  #define SDCARD_SORT_ALPHA         // Using SORT feature to keep one directory level in RAM
180
-                                    // When going up/down directory levels the SD card is
181
-                                    // accessed but the garbage/lines are removed when the
182
-                                    // LCD updates
183
-
184
-  #define SDSORT_LIMIT       256    // Maximum number of sorted items (10-256). Costs 27 bytes each.
185
-  #define FOLDER_SORTING     -1     // -1=above  0=none  1=below
186
-  #define SDSORT_GCODE       false  // Allow turning sorting on/off with LCD and M34 g-code.
187
-  #define SDSORT_USES_RAM    true   // Pre-allocate a static array for faster pre-sorting.
188
-  #define SDSORT_USES_STACK  false  // Prefer the stack for pre-sorting to give back some SRAM. (Negated by next 2 options.)
189
-  #define SDSORT_CACHE_NAMES true   // Keep sorted items in RAM longer for speedy performance. Most expensive option.
190
-  #define SDSORT_DYNAMIC_RAM false  // Use dynamic allocation (within SD menus). Least expensive option. Set SDSORT_LIMIT before use!
191
-  #define SDSORT_CACHE_VFATS 2      // Maximum number of 13-byte VFAT entries to use for sorting.
192
-                                    // Note: Only affects SCROLL_LONG_FILENAMES with SDSORT_CACHE_NAMES but not SDSORT_DYNAMIC_RAM.
193
-  #define MAX_VFAT_ENTRIES SDSORT_CACHE_VFATS
194
-#endif
195
-
196
 /**
177
 /**
197
  *  PWMs
178
  *  PWMs
198
  *
179
  *

+ 0
- 18
Marlin/src/pins/pins_RAMPS_RE_ARM.h 查看文件

259
     //#define SHIFT_EN            P1_22  // J5-4 & AUX-4
259
     //#define SHIFT_EN            P1_22  // J5-4 & AUX-4
260
   #endif
260
   #endif
261
 
261
 
262
-  #if (ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) && !defined(SDCARD_SORT_ALPHA)) // needed because of shared SPI
263
-    #define SDCARD_SORT_ALPHA         // Using SORT feature to keep one directory level in RAM
264
-                                      // When going up/down directory levels the SD card is
265
-                                      // accessed but the garbage/lines are removed when the
266
-                                      // LCD updates
267
-
268
-    #define SDSORT_LIMIT       256    // Maximum number of sorted items (10-256). Costs 27 bytes each.
269
-    #define FOLDER_SORTING     -1     // -1=above  0=none  1=below
270
-    #define SDSORT_GCODE       false  // Allow turning sorting on/off with LCD and M34 g-code.
271
-    #define SDSORT_USES_RAM    true   // Pre-allocate a static array for faster pre-sorting.
272
-    #define SDSORT_USES_STACK  false  // Prefer the stack for pre-sorting to give back some SRAM. (Negated by next 2 options.)
273
-    #define SDSORT_CACHE_NAMES true   // Keep sorted items in RAM longer for speedy performance. Most expensive option.
274
-    #define SDSORT_DYNAMIC_RAM false  // Use dynamic allocation (within SD menus). Least expensive option. Set SDSORT_LIMIT before use!
275
-    #define SDSORT_CACHE_VFATS 2      // Maximum number of 13-byte VFAT entries to use for sorting.
276
-                                      // Note: Only affects SCROLL_LONG_FILENAMES with SDSORT_CACHE_NAMES but not SDSORT_DYNAMIC_RAM.
277
-    #define MAX_VFAT_ENTRIES SDSORT_CACHE_VFATS
278
-  #endif
279
-
280
   #if ENABLED(VIKI2) || ENABLED(miniVIKI)
262
   #if ENABLED(VIKI2) || ENABLED(miniVIKI)
281
     // #define LCD_SCREEN_ROT_180
263
     // #define LCD_SCREEN_ROT_180
282
 
264
 

+ 0
- 10
Marlin/src/sd/SdFatConfig.h 查看文件

133
 
133
 
134
 #define FILENAME_LENGTH 13 // Number of UTF-16 characters per entry
134
 #define FILENAME_LENGTH 13 // Number of UTF-16 characters per entry
135
 
135
 
136
-// Number of VFAT entries used. Each entry has 13 UTF-16 characters
137
-#ifdef MAX_VFAT_ENTRIES
138
-  #undef MAX_VFAT_ENTRIES
139
-#endif  
140
-#if ENABLED(SCROLL_LONG_FILENAMES)
141
-  #define MAX_VFAT_ENTRIES (5)
142
-#else
143
-  #define MAX_VFAT_ENTRIES (2)
144
-#endif
145
-
146
 // Total bytes needed to store a single long filename
136
 // Total bytes needed to store a single long filename
147
 #define LONG_FILENAME_LENGTH (FILENAME_LENGTH * MAX_VFAT_ENTRIES + 1)
137
 #define LONG_FILENAME_LENGTH (FILENAME_LENGTH * MAX_VFAT_ENTRIES + 1)
148
 
138
 

Loading…
取消
儲存