Selaa lähdekoodia

Adapt MESH_EDIT_GFX_OVERLAY for 1.1.x

Scott Lahteine 6 vuotta sitten
vanhempi
commit
c0190eff00
72 muutettua tiedostoa jossa 251 lisäystä ja 77 poistoa
  1. 1
    1
      .travis.yml
  2. 2
    0
      Marlin/Configuration.h
  3. 4
    1
      Marlin/Configuration_adv.h
  4. 8
    0
      Marlin/SanityCheck.h
  5. 2
    2
      Marlin/dogm_bitmaps.h
  6. 2
    0
      Marlin/example_configurations/AlephObjects/TAZ4/Configuration.h
  7. 4
    1
      Marlin/example_configurations/AlephObjects/TAZ4/Configuration_adv.h
  8. 2
    0
      Marlin/example_configurations/AliExpress/CL-260/Configuration.h
  9. 2
    0
      Marlin/example_configurations/Anet/A6/Configuration.h
  10. 4
    1
      Marlin/example_configurations/Anet/A6/Configuration_adv.h
  11. 2
    0
      Marlin/example_configurations/Anet/A8/Configuration.h
  12. 4
    1
      Marlin/example_configurations/Anet/A8/Configuration_adv.h
  13. 2
    0
      Marlin/example_configurations/BQ/Hephestos/Configuration.h
  14. 4
    1
      Marlin/example_configurations/BQ/Hephestos/Configuration_adv.h
  15. 2
    0
      Marlin/example_configurations/BQ/Hephestos_2/Configuration.h
  16. 4
    1
      Marlin/example_configurations/BQ/Hephestos_2/Configuration_adv.h
  17. 2
    0
      Marlin/example_configurations/BQ/WITBOX/Configuration.h
  18. 4
    1
      Marlin/example_configurations/BQ/WITBOX/Configuration_adv.h
  19. 2
    0
      Marlin/example_configurations/Cartesio/Configuration.h
  20. 4
    1
      Marlin/example_configurations/Cartesio/Configuration_adv.h
  21. 2
    0
      Marlin/example_configurations/Creality/CR-10/Configuration.h
  22. 4
    1
      Marlin/example_configurations/Creality/CR-10/Configuration_adv.h
  23. 2
    0
      Marlin/example_configurations/Felix/Configuration.h
  24. 4
    1
      Marlin/example_configurations/Felix/Configuration_adv.h
  25. 2
    0
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  26. 2
    0
      Marlin/example_configurations/FolgerTech/i3-2020/Configuration.h
  27. 4
    1
      Marlin/example_configurations/FolgerTech/i3-2020/Configuration_adv.h
  28. 2
    0
      Marlin/example_configurations/Geeetech/GT2560/Configuration.h
  29. 2
    0
      Marlin/example_configurations/Geeetech/I3_Pro_X-GT2560/Configuration.h
  30. 2
    0
      Marlin/example_configurations/Infitary/i3-M508/Configuration.h
  31. 4
    1
      Marlin/example_configurations/Infitary/i3-M508/Configuration_adv.h
  32. 2
    0
      Marlin/example_configurations/Malyan/M150/Configuration.h
  33. 4
    1
      Marlin/example_configurations/Malyan/M150/Configuration_adv.h
  34. 2
    0
      Marlin/example_configurations/Micromake/C1/basic/Configuration.h
  35. 2
    0
      Marlin/example_configurations/Micromake/C1/enhanced/Configuration.h
  36. 4
    1
      Marlin/example_configurations/Micromake/C1/enhanced/Configuration_adv.h
  37. 2
    0
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  38. 2
    0
      Marlin/example_configurations/RigidBot/Configuration.h
  39. 4
    1
      Marlin/example_configurations/RigidBot/Configuration_adv.h
  40. 2
    0
      Marlin/example_configurations/SCARA/Configuration.h
  41. 4
    1
      Marlin/example_configurations/SCARA/Configuration_adv.h
  42. 2
    0
      Marlin/example_configurations/Sanguinololu/Configuration.h
  43. 4
    1
      Marlin/example_configurations/Sanguinololu/Configuration_adv.h
  44. 2
    0
      Marlin/example_configurations/TinyBoy2/Configuration.h
  45. 4
    1
      Marlin/example_configurations/TinyBoy2/Configuration_adv.h
  46. 2
    0
      Marlin/example_configurations/Velleman/K8200/Configuration.h
  47. 4
    1
      Marlin/example_configurations/Velleman/K8200/Configuration_adv.h
  48. 2
    0
      Marlin/example_configurations/Velleman/K8400/Configuration.h
  49. 4
    1
      Marlin/example_configurations/Velleman/K8400/Configuration_adv.h
  50. 2
    0
      Marlin/example_configurations/Velleman/K8400/Dual-head/Configuration.h
  51. 2
    0
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  52. 2
    0
      Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration.h
  53. 4
    1
      Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration_adv.h
  54. 2
    0
      Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration.h
  55. 4
    1
      Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration_adv.h
  56. 2
    0
      Marlin/example_configurations/delta/generic/Configuration.h
  57. 4
    1
      Marlin/example_configurations/delta/generic/Configuration_adv.h
  58. 2
    0
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  59. 4
    1
      Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h
  60. 2
    0
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  61. 4
    1
      Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h
  62. 2
    0
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  63. 4
    1
      Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h
  64. 2
    0
      Marlin/example_configurations/gCreate/gMax1.5+/Configuration.h
  65. 4
    1
      Marlin/example_configurations/gCreate/gMax1.5+/Configuration_adv.h
  66. 2
    0
      Marlin/example_configurations/makibox/Configuration.h
  67. 4
    1
      Marlin/example_configurations/makibox/Configuration_adv.h
  68. 2
    0
      Marlin/example_configurations/tvrrug/Round2/Configuration.h
  69. 4
    1
      Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h
  70. 2
    0
      Marlin/example_configurations/wt150/Configuration.h
  71. 4
    1
      Marlin/example_configurations/wt150/Configuration_adv.h
  72. 44
    44
      Marlin/ultralcd.cpp

+ 1
- 1
.travis.yml Näytä tiedosto

@@ -325,7 +325,7 @@ script:
325 325
   #
326 326
   - use_example_configs delta/generic
327 327
   - opt_disable DISABLE_MIN_ENDSTOPS
328
-  - opt_enable AUTO_BED_LEVELING_UBL Z_PROBE_ALLEN_KEY EEPROM_SETTINGS EEPROM_CHITCHAT OLED_PANEL_TINYBOY2
328
+  - opt_enable AUTO_BED_LEVELING_UBL Z_PROBE_ALLEN_KEY EEPROM_SETTINGS EEPROM_CHITCHAT OLED_PANEL_TINYBOY2 MESH_EDIT_GFX_OVERLAY
329 329
   - build_marlin
330 330
   #
331 331
   # Delta Config (FLSUN AC because it's complex)

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

@@ -957,6 +957,8 @@
957 957
   //========================= Unified Bed Leveling ============================
958 958
   //===========================================================================
959 959
 
960
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
961
+
960 962
   #define MESH_INSET 1              // Mesh inset margin on print area
961 963
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
962 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/Configuration_adv.h Näytä tiedosto

@@ -610,6 +610,10 @@
610 610
   // Enable this option and reduce the value to optimize screen updates.
611 611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612 612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613 617
 #endif // DOGLCD
614 618
 
615 619
 // @section safety
@@ -644,7 +648,6 @@
644 648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645 649
                                         // Note: Extra time may be added to mitigate controller latency.
646 650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648 651
 #endif
649 652
 
650 653
 // @section extruder

+ 8
- 0
Marlin/SanityCheck.h Näytä tiedosto

@@ -216,6 +216,10 @@
216 216
   #error "UBL_MESH_INSET is now just MESH_INSET. Please update your configuration."
217 217
 #elif defined(UBL_MESH_MIN_X) || defined(UBL_MESH_MIN_Y) || defined(UBL_MESH_MAX_X)  || defined(UBL_MESH_MAX_Y)
218 218
   #error "UBL_MESH_(MIN|MAX)_[XY] is now just MESH_(MIN|MAX)_[XY]. Please update your configuration."
219
+#elif defined(ENABLE_MESH_EDIT_GFX_OVERLAY)
220
+  #error "ENABLE_MESH_EDIT_GFX_OVERLAY is now MESH_EDIT_GFX_OVERLAY. Please update your configuration."
221
+#elif defined(BABYSTEP_ZPROBE_GFX_REVERSE)
222
+  #error "BABYSTEP_ZPROBE_GFX_REVERSE is now set by OVERLAY_GFX_REVERSE. Please update your configurations."
219 223
 #endif
220 224
 
221 225
 /**
@@ -810,6 +814,10 @@ static_assert(1 >= 0
810 814
   #error "G26_MESH_VALIDATION requires MESH_BED_LEVELING, AUTO_BED_LEVELING_BILINEAR, or AUTO_BED_LEVELING_UBL."
811 815
 #endif
812 816
 
817
+#if ENABLED(MESH_EDIT_GFX_OVERLAY) && (DISABLED(AUTO_BED_LEVELING_UBL) || DISABLED(DOGLCD))
818
+  #error "MESH_EDIT_GFX_OVERLAY requires AUTO_BED_LEVELING_UBL and a Graphical LCD."
819
+#endif
820
+
813 821
 /**
814 822
  * LCD_BED_LEVELING requirements
815 823
  */

+ 2
- 2
Marlin/dogm_bitmaps.h Näytä tiedosto

@@ -420,7 +420,7 @@
420 420
     };
421 421
   #endif // Extruders
422 422
 
423
-  #if ENABLED(BABYSTEP_ZPROBE_GFX_OVERLAY)
423
+  #if ENABLED(BABYSTEP_ZPROBE_GFX_OVERLAY) || ENABLED(MESH_EDIT_GFX_OVERLAY)
424 424
     const unsigned char cw_bmp[] PROGMEM = { //AVR-GCC, WinAVR
425 425
       0x07,0xf8,0x00, // 000001111111100000000000
426 426
       0x0c,0x0c,0x00, // 000011000000110000000000
@@ -510,5 +510,5 @@
510 510
       0x1E,0x00, // 0001111000000000
511 511
       0x0C,0x00  // 0000110000000000
512 512
     };
513
-  #endif // BABYSTEP_ZPROBE_GFX_OVERLAY
513
+  #endif // BABYSTEP_ZPROBE_GFX_OVERLAY || MESH_EDIT_GFX_OVERLAY
514 514
 #endif // HAS_TEMP_BED

+ 2
- 0
Marlin/example_configurations/AlephObjects/TAZ4/Configuration.h Näytä tiedosto

@@ -977,6 +977,8 @@
977 977
   //========================= Unified Bed Leveling ============================
978 978
   //===========================================================================
979 979
 
980
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
981
+
980 982
   #define MESH_INSET 1              // Mesh inset margin on print area
981 983
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
982 984
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/AlephObjects/TAZ4/Configuration_adv.h Näytä tiedosto

@@ -610,6 +610,10 @@
610 610
   // Enable this option and reduce the value to optimize screen updates.
611 611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612 612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613 617
 #endif // DOGLCD
614 618
 
615 619
 // @section safety
@@ -644,7 +648,6 @@
644 648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645 649
                                         // Note: Extra time may be added to mitigate controller latency.
646 650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648 651
 #endif
649 652
 
650 653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/AliExpress/CL-260/Configuration.h Näytä tiedosto

@@ -957,6 +957,8 @@
957 957
   //========================= Unified Bed Leveling ============================
958 958
   //===========================================================================
959 959
 
960
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
961
+
960 962
   #define MESH_INSET 1              // Mesh inset margin on print area
961 963
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
962 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 2
- 0
Marlin/example_configurations/Anet/A6/Configuration.h Näytä tiedosto

@@ -1100,6 +1100,8 @@
1100 1100
   //========================= Unified Bed Leveling ============================
1101 1101
   //===========================================================================
1102 1102
 
1103
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
1104
+
1103 1105
   #define MESH_INSET 1              // Mesh inset margin on print area
1104 1106
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1105 1107
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Anet/A6/Configuration_adv.h Näytä tiedosto

@@ -610,6 +610,10 @@
610 610
   // Enable this option and reduce the value to optimize screen updates.
611 611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612 612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613 617
 #endif // DOGLCD
614 618
 
615 619
 // @section safety
@@ -644,7 +648,6 @@
644 648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645 649
                                         // Note: Extra time may be added to mitigate controller latency.
646 650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648 651
 #endif
649 652
 
650 653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/Anet/A8/Configuration.h Näytä tiedosto

@@ -964,6 +964,8 @@
964 964
   //========================= Unified Bed Leveling ============================
965 965
   //===========================================================================
966 966
 
967
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
968
+
967 969
   #define MESH_INSET 1              // Mesh inset margin on print area
968 970
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
969 971
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Anet/A8/Configuration_adv.h Näytä tiedosto

@@ -610,6 +610,10 @@
610 610
   // Enable this option and reduce the value to optimize screen updates.
611 611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612 612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613 617
 #endif // DOGLCD
614 618
 
615 619
 // @section safety
@@ -644,7 +648,6 @@
644 648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645 649
                                         // Note: Extra time may be added to mitigate controller latency.
646 650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648 651
 #endif
649 652
 
650 653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/BQ/Hephestos/Configuration.h Näytä tiedosto

@@ -948,6 +948,8 @@
948 948
   //========================= Unified Bed Leveling ============================
949 949
   //===========================================================================
950 950
 
951
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
952
+
951 953
   #define MESH_INSET 1              // Mesh inset margin on print area
952 954
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
953 955
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/BQ/Hephestos/Configuration_adv.h Näytä tiedosto

@@ -610,6 +610,10 @@
610 610
   // Enable this option and reduce the value to optimize screen updates.
611 611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612 612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613 617
 #endif // DOGLCD
614 618
 
615 619
 // @section safety
@@ -644,7 +648,6 @@
644 648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645 649
                                         // Note: Extra time may be added to mitigate controller latency.
646 650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648 651
 #endif
649 652
 
650 653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/BQ/Hephestos_2/Configuration.h Näytä tiedosto

@@ -958,6 +958,8 @@
958 958
   //========================= Unified Bed Leveling ============================
959 959
   //===========================================================================
960 960
 
961
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
962
+
961 963
   #define MESH_INSET 1              // Mesh inset margin on print area
962 964
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
963 965
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/BQ/Hephestos_2/Configuration_adv.h Näytä tiedosto

@@ -607,6 +607,10 @@
607 607
   // Enable this option and reduce the value to optimize screen updates.
608 608
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
609 609
   //#define DOGM_SPI_DELAY_US 5
610
+
611
+  // Swap the CW/CCW indicators in the graphics overlay
612
+  //#define OVERLAY_GFX_REVERSE
613
+
610 614
 #endif // DOGLCD
611 615
 
612 616
 // @section safety
@@ -641,7 +645,6 @@
641 645
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
642 646
                                         // Note: Extra time may be added to mitigate controller latency.
643 647
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
644
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
645 648
 #endif
646 649
 
647 650
 // @section extruder

+ 2
- 0
Marlin/example_configurations/BQ/WITBOX/Configuration.h Näytä tiedosto

@@ -948,6 +948,8 @@
948 948
   //========================= Unified Bed Leveling ============================
949 949
   //===========================================================================
950 950
 
951
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
952
+
951 953
   #define MESH_INSET 1              // Mesh inset margin on print area
952 954
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
953 955
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/BQ/WITBOX/Configuration_adv.h Näytä tiedosto

@@ -610,6 +610,10 @@
610 610
   // Enable this option and reduce the value to optimize screen updates.
611 611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612 612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613 617
 #endif // DOGLCD
614 618
 
615 619
 // @section safety
@@ -644,7 +648,6 @@
644 648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645 649
                                         // Note: Extra time may be added to mitigate controller latency.
646 650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648 651
 #endif
649 652
 
650 653
 // @section extruder

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

@@ -956,6 +956,8 @@
956 956
   //========================= Unified Bed Leveling ============================
957 957
   //===========================================================================
958 958
 
959
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
960
+
959 961
   #define MESH_INSET 1              // Mesh inset margin on print area
960 962
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
961 963
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Cartesio/Configuration_adv.h Näytä tiedosto

@@ -610,6 +610,10 @@
610 610
   // Enable this option and reduce the value to optimize screen updates.
611 611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612 612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613 617
 #endif // DOGLCD
614 618
 
615 619
 // @section safety
@@ -644,7 +648,6 @@
644 648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645 649
                                         // Note: Extra time may be added to mitigate controller latency.
646 650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648 651
 #endif
649 652
 
650 653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/Creality/CR-10/Configuration.h Näytä tiedosto

@@ -967,6 +967,8 @@
967 967
   //========================= Unified Bed Leveling ============================
968 968
   //===========================================================================
969 969
 
970
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
971
+
970 972
   #define MESH_INSET 1              // Mesh inset margin on print area
971 973
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
972 974
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Creality/CR-10/Configuration_adv.h Näytä tiedosto

@@ -610,6 +610,10 @@
610 610
   // Enable this option and reduce the value to optimize screen updates.
611 611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612 612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613 617
 #endif // DOGLCD
614 618
 
615 619
 // @section safety
@@ -644,7 +648,6 @@
644 648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645 649
                                         // Note: Extra time may be added to mitigate controller latency.
646 650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648 651
 #endif
649 652
 
650 653
 // @section extruder

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

@@ -939,6 +939,8 @@
939 939
   //========================= Unified Bed Leveling ============================
940 940
   //===========================================================================
941 941
 
942
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
943
+
942 944
   #define MESH_INSET 1              // Mesh inset margin on print area
943 945
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
944 946
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Felix/Configuration_adv.h Näytä tiedosto

@@ -610,6 +610,10 @@
610 610
   // Enable this option and reduce the value to optimize screen updates.
611 611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612 612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613 617
 #endif // DOGLCD
614 618
 
615 619
 // @section safety
@@ -644,7 +648,6 @@
644 648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645 649
                                         // Note: Extra time may be added to mitigate controller latency.
646 650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648 651
 #endif
649 652
 
650 653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/Felix/DUAL/Configuration.h Näytä tiedosto

@@ -939,6 +939,8 @@
939 939
   //========================= Unified Bed Leveling ============================
940 940
   //===========================================================================
941 941
 
942
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
943
+
942 944
   #define MESH_INSET 1              // Mesh inset margin on print area
943 945
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
944 946
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 2
- 0
Marlin/example_configurations/FolgerTech/i3-2020/Configuration.h Näytä tiedosto

@@ -962,6 +962,8 @@
962 962
   //========================= Unified Bed Leveling ============================
963 963
   //===========================================================================
964 964
 
965
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
966
+
965 967
   #define MESH_INSET 1              // Mesh inset margin on print area
966 968
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
967 969
   #define GRID_MAX_POINTS_Y 10

+ 4
- 1
Marlin/example_configurations/FolgerTech/i3-2020/Configuration_adv.h Näytä tiedosto

@@ -610,6 +610,10 @@
610 610
   // Enable this option and reduce the value to optimize screen updates.
611 611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612 612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613 617
 #endif // DOGLCD
614 618
 
615 619
 // @section safety
@@ -644,7 +648,6 @@
644 648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645 649
                                         // Note: Extra time may be added to mitigate controller latency.
646 650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648 651
 #endif
649 652
 
650 653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/Geeetech/GT2560/Configuration.h Näytä tiedosto

@@ -972,6 +972,8 @@
972 972
   //========================= Unified Bed Leveling ============================
973 973
   //===========================================================================
974 974
 
975
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
976
+
975 977
   #define MESH_INSET 1              // Mesh inset margin on print area
976 978
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
977 979
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 2
- 0
Marlin/example_configurations/Geeetech/I3_Pro_X-GT2560/Configuration.h Näytä tiedosto

@@ -957,6 +957,8 @@
957 957
   //========================= Unified Bed Leveling ============================
958 958
   //===========================================================================
959 959
 
960
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
961
+
960 962
   #define MESH_INSET 1              // Mesh inset margin on print area
961 963
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
962 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 2
- 0
Marlin/example_configurations/Infitary/i3-M508/Configuration.h Näytä tiedosto

@@ -961,6 +961,8 @@
961 961
   //========================= Unified Bed Leveling ============================
962 962
   //===========================================================================
963 963
 
964
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
965
+
964 966
   #define MESH_INSET 1              // Mesh inset margin on print area
965 967
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
966 968
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Infitary/i3-M508/Configuration_adv.h Näytä tiedosto

@@ -610,6 +610,10 @@
610 610
   // Enable this option and reduce the value to optimize screen updates.
611 611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612 612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613 617
 #endif // DOGLCD
614 618
 
615 619
 // @section safety
@@ -644,7 +648,6 @@
644 648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645 649
                                         // Note: Extra time may be added to mitigate controller latency.
646 650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648 651
 #endif
649 652
 
650 653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/Malyan/M150/Configuration.h Näytä tiedosto

@@ -985,6 +985,8 @@
985 985
   //========================= Unified Bed Leveling ============================
986 986
   //===========================================================================
987 987
 
988
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
989
+
988 990
   #define MESH_INSET 1              // Mesh inset margin on print area
989 991
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
990 992
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Malyan/M150/Configuration_adv.h Näytä tiedosto

@@ -607,6 +607,10 @@
607 607
   // Enable this option and reduce the value to optimize screen updates.
608 608
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
609 609
   //#define DOGM_SPI_DELAY_US 5
610
+
611
+  // Swap the CW/CCW indicators in the graphics overlay
612
+  //#define OVERLAY_GFX_REVERSE
613
+
610 614
 #endif // DOGLCD
611 615
 
612 616
 // @section safety
@@ -641,7 +645,6 @@
641 645
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
642 646
                                         // Note: Extra time may be added to mitigate controller latency.
643 647
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
644
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
645 648
 #endif
646 649
 
647 650
 // @section extruder

+ 2
- 0
Marlin/example_configurations/Micromake/C1/basic/Configuration.h Näytä tiedosto

@@ -961,6 +961,8 @@
961 961
   //========================= Unified Bed Leveling ============================
962 962
   //===========================================================================
963 963
 
964
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
965
+
964 966
   #define MESH_INSET 1              // Mesh inset margin on print area
965 967
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
966 968
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 2
- 0
Marlin/example_configurations/Micromake/C1/enhanced/Configuration.h Näytä tiedosto

@@ -961,6 +961,8 @@
961 961
   //========================= Unified Bed Leveling ============================
962 962
   //===========================================================================
963 963
 
964
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
965
+
964 966
   #define MESH_INSET 1              // Mesh inset margin on print area
965 967
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
966 968
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Micromake/C1/enhanced/Configuration_adv.h Näytä tiedosto

@@ -611,6 +611,10 @@
611 611
   // Enable this option and reduce the value to optimize screen updates.
612 612
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
613 613
   //#define DOGM_SPI_DELAY_US 5
614
+
615
+  // Swap the CW/CCW indicators in the graphics overlay
616
+  //#define OVERLAY_GFX_REVERSE
617
+
614 618
 #endif // DOGLCD
615 619
 
616 620
 // @section safety
@@ -645,7 +649,6 @@
645 649
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
646 650
                                         // Note: Extra time may be added to mitigate controller latency.
647 651
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
648
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
649 652
 #endif
650 653
 
651 654
 // @section extruder

+ 2
- 0
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h Näytä tiedosto

@@ -957,6 +957,8 @@
957 957
   //========================= Unified Bed Leveling ============================
958 958
   //===========================================================================
959 959
 
960
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
961
+
960 962
   #define MESH_INSET 1              // Mesh inset margin on print area
961 963
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
962 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

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

@@ -955,6 +955,8 @@
955 955
   //========================= Unified Bed Leveling ============================
956 956
   //===========================================================================
957 957
 
958
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
959
+
958 960
   #define MESH_INSET 1              // Mesh inset margin on print area
959 961
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
960 962
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/RigidBot/Configuration_adv.h Näytä tiedosto

@@ -610,6 +610,10 @@
610 610
   // Enable this option and reduce the value to optimize screen updates.
611 611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612 612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613 617
 #endif // DOGLCD
614 618
 
615 619
 // @section safety
@@ -644,7 +648,6 @@
644 648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645 649
                                         // Note: Extra time may be added to mitigate controller latency.
646 650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648 651
 #endif
649 652
 
650 653
 // @section extruder

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

@@ -969,6 +969,8 @@
969 969
   //========================= Unified Bed Leveling ============================
970 970
   //===========================================================================
971 971
 
972
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
973
+
972 974
   #define MESH_INSET 1              // Mesh inset margin on print area
973 975
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
974 976
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/SCARA/Configuration_adv.h Näytä tiedosto

@@ -610,6 +610,10 @@
610 610
   // Enable this option and reduce the value to optimize screen updates.
611 611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612 612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613 617
 #endif // DOGLCD
614 618
 
615 619
 // @section safety
@@ -644,7 +648,6 @@
644 648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645 649
                                         // Note: Extra time may be added to mitigate controller latency.
646 650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648 651
 #endif
649 652
 
650 653
 // @section extruder

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

@@ -988,6 +988,8 @@
988 988
   //========================= Unified Bed Leveling ============================
989 989
   //===========================================================================
990 990
 
991
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
992
+
991 993
   #define MESH_INSET 1              // Mesh inset margin on print area
992 994
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
993 995
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Sanguinololu/Configuration_adv.h Näytä tiedosto

@@ -599,6 +599,10 @@
599 599
   // Enable this option and reduce the value to optimize screen updates.
600 600
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
601 601
   //#define DOGM_SPI_DELAY_US 5
602
+
603
+  // Swap the CW/CCW indicators in the graphics overlay
604
+  //#define OVERLAY_GFX_REVERSE
605
+
602 606
 #endif // DOGLCD
603 607
 
604 608
 // @section safety
@@ -633,7 +637,6 @@
633 637
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
634 638
                                         // Note: Extra time may be added to mitigate controller latency.
635 639
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
636
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
637 640
 #endif
638 641
 
639 642
 // @section extruder

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

@@ -1013,6 +1013,8 @@
1013 1013
   //========================= Unified Bed Leveling ============================
1014 1014
   //===========================================================================
1015 1015
 
1016
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
1017
+
1016 1018
   #define MESH_INSET 1              // Mesh inset margin on print area
1017 1019
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1018 1020
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/TinyBoy2/Configuration_adv.h Näytä tiedosto

@@ -610,6 +610,10 @@
610 610
   // Enable this option and reduce the value to optimize screen updates.
611 611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612 612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613 617
 #endif // DOGLCD
614 618
 
615 619
 // @section safety
@@ -644,7 +648,6 @@
644 648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645 649
                                         // Note: Extra time may be added to mitigate controller latency.
646 650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648 651
 #endif
649 652
 
650 653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/Velleman/K8200/Configuration.h Näytä tiedosto

@@ -987,6 +987,8 @@
987 987
   //========================= Unified Bed Leveling ============================
988 988
   //===========================================================================
989 989
 
990
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
991
+
990 992
   #define MESH_INSET 1              // Mesh inset margin on print area
991 993
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
992 994
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Velleman/K8200/Configuration_adv.h Näytä tiedosto

@@ -618,6 +618,10 @@
618 618
   // Enable this option and reduce the value to optimize screen updates.
619 619
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
620 620
   //#define DOGM_SPI_DELAY_US 5
621
+
622
+  // Swap the CW/CCW indicators in the graphics overlay
623
+  //#define OVERLAY_GFX_REVERSE
624
+
621 625
 #endif // DOGLCD
622 626
 
623 627
 // @section safety
@@ -652,7 +656,6 @@
652 656
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
653 657
                                         // Note: Extra time may be added to mitigate controller latency.
654 658
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
655
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
656 659
 #endif
657 660
 
658 661
 // @section extruder

+ 2
- 0
Marlin/example_configurations/Velleman/K8400/Configuration.h Näytä tiedosto

@@ -957,6 +957,8 @@
957 957
   //========================= Unified Bed Leveling ============================
958 958
   //===========================================================================
959 959
 
960
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
961
+
960 962
   #define MESH_INSET 1              // Mesh inset margin on print area
961 963
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
962 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Velleman/K8400/Configuration_adv.h Näytä tiedosto

@@ -610,6 +610,10 @@
610 610
   // Enable this option and reduce the value to optimize screen updates.
611 611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612 612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613 617
 #endif // DOGLCD
614 618
 
615 619
 // @section safety
@@ -644,7 +648,6 @@
644 648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645 649
                                         // Note: Extra time may be added to mitigate controller latency.
646 650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648 651
 #endif
649 652
 
650 653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/Velleman/K8400/Dual-head/Configuration.h Näytä tiedosto

@@ -957,6 +957,8 @@
957 957
   //========================= Unified Bed Leveling ============================
958 958
   //===========================================================================
959 959
 
960
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
961
+
960 962
   #define MESH_INSET 1              // Mesh inset margin on print area
961 963
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
962 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 2
- 0
Marlin/example_configurations/adafruit/ST7565/Configuration.h Näytä tiedosto

@@ -957,6 +957,8 @@
957 957
   //========================= Unified Bed Leveling ============================
958 958
   //===========================================================================
959 959
 
960
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
961
+
960 962
   #define MESH_INSET 1              // Mesh inset margin on print area
961 963
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
962 964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

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

@@ -1089,6 +1089,8 @@
1089 1089
   //========================= Unified Bed Leveling ============================
1090 1090
   //===========================================================================
1091 1091
 
1092
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
1093
+
1092 1094
   #define MESH_INSET 1              // Mesh inset margin on print area
1093 1095
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1094 1096
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration_adv.h Näytä tiedosto

@@ -612,6 +612,10 @@
612 612
   // Enable this option and reduce the value to optimize screen updates.
613 613
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
614 614
   //#define DOGM_SPI_DELAY_US 5
615
+
616
+  // Swap the CW/CCW indicators in the graphics overlay
617
+  //#define OVERLAY_GFX_REVERSE
618
+
615 619
 #endif // DOGLCD
616 620
 
617 621
 // @section safety
@@ -646,7 +650,6 @@
646 650
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
647 651
                                         // Note: Extra time may be added to mitigate controller latency.
648 652
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
649
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
650 653
 #endif
651 654
 
652 655
 // @section extruder

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

@@ -1083,6 +1083,8 @@
1083 1083
   //========================= Unified Bed Leveling ============================
1084 1084
   //===========================================================================
1085 1085
 
1086
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
1087
+
1086 1088
   #define MESH_INSET 1              // Mesh inset margin on print area
1087 1089
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1088 1090
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration_adv.h Näytä tiedosto

@@ -612,6 +612,10 @@
612 612
   // Enable this option and reduce the value to optimize screen updates.
613 613
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
614 614
   //#define DOGM_SPI_DELAY_US 5
615
+
616
+  // Swap the CW/CCW indicators in the graphics overlay
617
+  //#define OVERLAY_GFX_REVERSE
618
+
615 619
 #endif // DOGLCD
616 620
 
617 621
 // @section safety
@@ -646,7 +650,6 @@
646 650
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
647 651
                                         // Note: Extra time may be added to mitigate controller latency.
648 652
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
649
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
650 653
 #endif
651 654
 
652 655
 // @section extruder

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

@@ -1078,6 +1078,8 @@
1078 1078
   //========================= Unified Bed Leveling ============================
1079 1079
   //===========================================================================
1080 1080
 
1081
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
1082
+
1081 1083
   #define MESH_INSET 1              // Mesh inset margin on print area
1082 1084
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1083 1085
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/delta/generic/Configuration_adv.h Näytä tiedosto

@@ -612,6 +612,10 @@
612 612
   // Enable this option and reduce the value to optimize screen updates.
613 613
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
614 614
   //#define DOGM_SPI_DELAY_US 5
615
+
616
+  // Swap the CW/CCW indicators in the graphics overlay
617
+  //#define OVERLAY_GFX_REVERSE
618
+
615 619
 #endif // DOGLCD
616 620
 
617 621
 // @section safety
@@ -646,7 +650,6 @@
646 650
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
647 651
                                         // Note: Extra time may be added to mitigate controller latency.
648 652
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
649
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
650 653
 #endif
651 654
 
652 655
 // @section extruder

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

@@ -1081,6 +1081,8 @@
1081 1081
   //========================= Unified Bed Leveling ============================
1082 1082
   //===========================================================================
1083 1083
 
1084
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
1085
+
1084 1086
   #define MESH_INSET 1              // Mesh inset margin on print area
1085 1087
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1086 1088
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h Näytä tiedosto

@@ -612,6 +612,10 @@
612 612
   // Enable this option and reduce the value to optimize screen updates.
613 613
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
614 614
   //#define DOGM_SPI_DELAY_US 5
615
+
616
+  // Swap the CW/CCW indicators in the graphics overlay
617
+  //#define OVERLAY_GFX_REVERSE
618
+
615 619
 #endif // DOGLCD
616 620
 
617 621
 // @section safety
@@ -646,7 +650,6 @@
646 650
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
647 651
                                         // Note: Extra time may be added to mitigate controller latency.
648 652
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
649
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
650 653
 #endif
651 654
 
652 655
 // @section extruder

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

@@ -1081,6 +1081,8 @@
1081 1081
   //========================= Unified Bed Leveling ============================
1082 1082
   //===========================================================================
1083 1083
 
1084
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
1085
+
1084 1086
   #define MESH_INSET 1              // Mesh inset margin on print area
1085 1087
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1086 1088
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h Näytä tiedosto

@@ -617,6 +617,10 @@
617 617
   // Enable this option and reduce the value to optimize screen updates.
618 618
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
619 619
   //#define DOGM_SPI_DELAY_US 5
620
+
621
+  // Swap the CW/CCW indicators in the graphics overlay
622
+  //#define OVERLAY_GFX_REVERSE
623
+
620 624
 #endif // DOGLCD
621 625
 
622 626
 // @section safety
@@ -651,7 +655,6 @@
651 655
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
652 656
                                         // Note: Extra time may be added to mitigate controller latency.
653 657
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
654
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
655 658
 #endif
656 659
 
657 660
 // @section extruder

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

@@ -1090,6 +1090,8 @@
1090 1090
   //========================= Unified Bed Leveling ============================
1091 1091
   //===========================================================================
1092 1092
 
1093
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
1094
+
1093 1095
   #define MESH_INSET 1              // Mesh inset margin on print area
1094 1096
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1095 1097
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h Näytä tiedosto

@@ -612,6 +612,10 @@
612 612
   // Enable this option and reduce the value to optimize screen updates.
613 613
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
614 614
   //#define DOGM_SPI_DELAY_US 5
615
+
616
+  // Swap the CW/CCW indicators in the graphics overlay
617
+  //#define OVERLAY_GFX_REVERSE
618
+
615 619
 #endif // DOGLCD
616 620
 
617 621
 // @section safety
@@ -646,7 +650,6 @@
646 650
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
647 651
                                         // Note: Extra time may be added to mitigate controller latency.
648 652
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
649
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
650 653
 #endif
651 654
 
652 655
 // @section extruder

+ 2
- 0
Marlin/example_configurations/gCreate/gMax1.5+/Configuration.h Näytä tiedosto

@@ -971,6 +971,8 @@
971 971
   //========================= Unified Bed Leveling ============================
972 972
   //===========================================================================
973 973
 
974
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
975
+
974 976
   #define MESH_INSET 45             // Mesh inset margin on print area
975 977
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
976 978
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/gCreate/gMax1.5+/Configuration_adv.h Näytä tiedosto

@@ -610,6 +610,10 @@
610 610
   // Enable this option and reduce the value to optimize screen updates.
611 611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612 612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613 617
 #endif // DOGLCD
614 618
 
615 619
 // @section safety
@@ -644,7 +648,6 @@
644 648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645 649
                                         // Note: Extra time may be added to mitigate controller latency.
646 650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648 651
 #endif
649 652
 
650 653
 // @section extruder

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

@@ -960,6 +960,8 @@
960 960
   //========================= Unified Bed Leveling ============================
961 961
   //===========================================================================
962 962
 
963
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
964
+
963 965
   #define MESH_INSET 1              // Mesh inset margin on print area
964 966
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
965 967
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/makibox/Configuration_adv.h Näytä tiedosto

@@ -610,6 +610,10 @@
610 610
   // Enable this option and reduce the value to optimize screen updates.
611 611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612 612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613 617
 #endif // DOGLCD
614 618
 
615 619
 // @section safety
@@ -644,7 +648,6 @@
644 648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645 649
                                         // Note: Extra time may be added to mitigate controller latency.
646 650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648 651
 #endif
649 652
 
650 653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/tvrrug/Round2/Configuration.h Näytä tiedosto

@@ -952,6 +952,8 @@
952 952
   //========================= Unified Bed Leveling ============================
953 953
   //===========================================================================
954 954
 
955
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
956
+
955 957
   #define MESH_INSET 1              // Mesh inset margin on print area
956 958
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
957 959
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h Näytä tiedosto

@@ -610,6 +610,10 @@
610 610
   // Enable this option and reduce the value to optimize screen updates.
611 611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612 612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613 617
 #endif // DOGLCD
614 618
 
615 619
 // @section safety
@@ -644,7 +648,6 @@
644 648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645 649
                                         // Note: Extra time may be added to mitigate controller latency.
646 650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648 651
 #endif
649 652
 
650 653
 // @section extruder

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

@@ -962,6 +962,8 @@
962 962
   //========================= Unified Bed Leveling ============================
963 963
   //===========================================================================
964 964
 
965
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
966
+
965 967
   #define MESH_INSET 1              // Mesh inset margin on print area
966 968
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
967 969
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/wt150/Configuration_adv.h Näytä tiedosto

@@ -600,6 +600,10 @@
600 600
   // Enable this option and reduce the value to optimize screen updates.
601 601
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
602 602
   //#define DOGM_SPI_DELAY_US 5
603
+
604
+  // Swap the CW/CCW indicators in the graphics overlay
605
+  //#define OVERLAY_GFX_REVERSE
606
+
603 607
 #endif // DOGLCD
604 608
 
605 609
 // @section safety
@@ -634,7 +638,6 @@
634 638
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
635 639
                                         // Note: Extra time may be added to mitigate controller latency.
636 640
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
637
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
638 641
 #endif
639 642
 
640 643
 // @section extruder

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

@@ -1035,6 +1035,44 @@ void kill_screen(const char* lcd_msg) {
1035 1035
     }
1036 1036
   #endif
1037 1037
 
1038
+  #if ENABLED(BABYSTEP_ZPROBE_GFX_OVERLAY) || ENABLED(MESH_EDIT_GFX_OVERLAY)
1039
+
1040
+    void _lcd_zoffset_overlay_gfx(const float zvalue) {
1041
+      // Determine whether the user is raising or lowering the nozzle.
1042
+      static int8_t dir;
1043
+      static float old_zvalue;
1044
+      if (zvalue != old_zvalue) {
1045
+        dir = zvalue ? zvalue < old_zvalue ? -1 : 1 : 0;
1046
+        old_zvalue = zvalue;
1047
+      }
1048
+
1049
+      #if ENABLED(OVERLAY_GFX_REVERSE)
1050
+        const unsigned char *rot_up = ccw_bmp, *rot_down = cw_bmp;
1051
+      #else
1052
+        const unsigned char *rot_up = cw_bmp, *rot_down = ccw_bmp;
1053
+      #endif
1054
+
1055
+      #if ENABLED(USE_BIG_EDIT_FONT)
1056
+        const int left = 0, right = 45, nozzle = 95;
1057
+      #else
1058
+        const int left = 5, right = 90, nozzle = 60;
1059
+      #endif
1060
+
1061
+      // Draw a representation of the nozzle
1062
+      if (PAGE_CONTAINS(3, 16))  u8g.drawBitmapP(nozzle + 6, 4 - dir, 2, 12, nozzle_bmp);
1063
+      if (PAGE_CONTAINS(20, 20)) u8g.drawBitmapP(nozzle + 0, 20, 3, 1, offset_bedline_bmp);
1064
+
1065
+      // Draw cw/ccw indicator and up/down arrows.
1066
+      if (PAGE_CONTAINS(47, 62)) {
1067
+        u8g.drawBitmapP(left  + 0, 47, 3, 16, rot_down);
1068
+        u8g.drawBitmapP(right + 0, 47, 3, 16, rot_up);
1069
+        u8g.drawBitmapP(right + 20, 48 - dir, 2, 13, up_arrow_bmp);
1070
+        u8g.drawBitmapP(left  + 20, 49 - dir, 2, 13, down_arrow_bmp);
1071
+      }
1072
+    }
1073
+
1074
+  #endif // BABYSTEP_ZPROBE_GFX_OVERLAY || MESH_EDIT_GFX_OVERLAY
1075
+
1038 1076
   #if ENABLED(BABYSTEPPING)
1039 1077
 
1040 1078
     void _lcd_babystep(const AxisEnum axis, const char* msg) {
@@ -1060,48 +1098,6 @@ void kill_screen(const char* lcd_msg) {
1060 1098
 
1061 1099
     #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1062 1100
 
1063
-      #if ENABLED(BABYSTEP_ZPROBE_GFX_OVERLAY)
1064
-        void _lcd_babystep_zoffset_overlay(const float zprobe_zoffset) {
1065
-          // Determine whether the user is raising or lowering the nozzle.
1066
-          static int dir = 0;
1067
-          static float old_zprobe_zoffset = 0;
1068
-          if (zprobe_zoffset != old_zprobe_zoffset) {
1069
-            dir = (zprobe_zoffset > old_zprobe_zoffset) ? 1 : -1;
1070
-            old_zprobe_zoffset = zprobe_zoffset;
1071
-          }
1072
-
1073
-          #if ENABLED(BABYSTEP_ZPROBE_GFX_REVERSE)
1074
-            const unsigned char* rot_up   = ccw_bmp;
1075
-            const unsigned char* rot_down = cw_bmp;
1076
-          #else
1077
-            const unsigned char* rot_up   = cw_bmp;
1078
-            const unsigned char* rot_down = ccw_bmp;
1079
-          #endif
1080
-
1081
-          #if ENABLED(USE_BIG_EDIT_FONT)
1082
-            const int left   = 0,
1083
-                      right  = 45,
1084
-                      nozzle = 95;
1085
-          #else
1086
-            const int left   = 5,
1087
-                      right  = 90,
1088
-                      nozzle = 60;
1089
-          #endif
1090
-
1091
-          // Draw a representation of the nozzle
1092
-          if (PAGE_CONTAINS(3, 16))  u8g.drawBitmapP(nozzle + 6, 4 - dir, 2, 12, nozzle_bmp);
1093
-          if (PAGE_CONTAINS(20, 20)) u8g.drawBitmapP(nozzle + 0, 20, 3, 1, offset_bedline_bmp);
1094
-
1095
-          // Draw cw/ccw indicator and up/down arrows.
1096
-          if (PAGE_CONTAINS(47, 62)) {
1097
-            u8g.drawBitmapP(left  + 0, 47, 3, 16, rot_down);
1098
-            u8g.drawBitmapP(right + 0, 47, 3, 16, rot_up);
1099
-            u8g.drawBitmapP(right + 20, 48 - dir, 2, 13, up_arrow_bmp);
1100
-            u8g.drawBitmapP(left  + 20, 49 - dir, 2, 13, down_arrow_bmp);
1101
-          }
1102
-        }
1103
-      #endif // BABYSTEP_ZPROBE_GFX_OVERLAY
1104
-
1105 1101
       void lcd_babystep_zoffset() {
1106 1102
         if (lcd_clicked) { return lcd_goto_previous_menu_no_defer(); }
1107 1103
         defer_return_to_status = true;
@@ -1123,7 +1119,7 @@ void kill_screen(const char* lcd_msg) {
1123 1119
         if (lcdDrawUpdate) {
1124 1120
           lcd_implementation_drawedit(PSTR(MSG_ZPROBE_ZOFFSET), ftostr43sign(zprobe_zoffset));
1125 1121
           #if ENABLED(BABYSTEP_ZPROBE_GFX_OVERLAY)
1126
-            _lcd_babystep_zoffset_overlay(zprobe_zoffset);
1122
+            _lcd_zoffset_overlay_gfx(zprobe_zoffset);
1127 1123
           #endif
1128 1124
         }
1129 1125
       }
@@ -1158,8 +1154,12 @@ void kill_screen(const char* lcd_msg) {
1158 1154
         mesh_edit_value = float(rounded - (rounded % 5L)) / 1000.0;
1159 1155
       }
1160 1156
 
1161
-      if (lcdDrawUpdate)
1157
+      if (lcdDrawUpdate) {
1162 1158
         lcd_implementation_drawedit(msg, ftostr43sign(mesh_edit_value));
1159
+        #if ENABLED(MESH_EDIT_GFX_OVERLAY)
1160
+          _lcd_zoffset_overlay_gfx(mesh_edit_value);
1161
+        #endif
1162
+      }
1163 1163
     }
1164 1164
 
1165 1165
     void _lcd_mesh_edit_NOP() {

Loading…
Peruuta
Tallenna