瀏覽代碼

UBL able to generate mesh and save and load it on 32-bit platforms (#8015)

* Get UBL Mesh Generation, Mesh Save & Mesh Load working with 32-Bit platforms

* clean up read_data() and write_data() for non-LPC1768 HAL's

* Get read_data() and write_data() return codes consistent

All HAL's read_data() and write_data() return false if they succeed.

* Get read_data() and write_data() return codes to be consistent

Make read_data() and write_data() return true if an error happens.

* Say UBL is now checked out on machine types in default Configuration.h file.
Roxy-3D 6 年之前
父節點
當前提交
572cf0ec95
共有 49 個文件被更改,包括 157 次插入273 次删除
  1. 1
    6
      Marlin/Configuration.h
  2. 4
    3
      Marlin/src/HAL/HAL_AVR/persistent_store_impl.cpp
  3. 4
    3
      Marlin/src/HAL/HAL_DUE/persistent_store_impl.cpp
  4. 78
    7
      Marlin/src/HAL/HAL_LPC1768/persistent_store_impl.cpp
  5. 3
    2
      Marlin/src/HAL/HAL_STM32F1/persistent_store_impl.cpp
  6. 4
    3
      Marlin/src/HAL/HAL_TEENSY35_36/persistent_store_impl.cpp
  7. 1
    1
      Marlin/src/HAL/persistent_store_api.h
  8. 1
    6
      Marlin/src/config/default/Configuration.h
  9. 1
    6
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
  10. 1
    6
      Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
  11. 1
    6
      Marlin/src/config/examples/Anet/A6/Configuration.h
  12. 1
    6
      Marlin/src/config/examples/Anet/A8/Configuration.h
  13. 1
    6
      Marlin/src/config/examples/BQ/Hephestos/Configuration.h
  14. 1
    6
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h
  15. 1
    6
      Marlin/src/config/examples/BQ/WITBOX/Configuration.h
  16. 1
    6
      Marlin/src/config/examples/Cartesio/Configuration.h
  17. 1
    6
      Marlin/src/config/examples/Creality/CR-10/Configuration.h
  18. 1
    6
      Marlin/src/config/examples/Felix/Configuration.h
  19. 1
    6
      Marlin/src/config/examples/Felix/DUAL/Configuration.h
  20. 2
    7
      Marlin/src/config/examples/Folger Tech/i3-2020/Configuration.h
  21. 1
    6
      Marlin/src/config/examples/Geeetech/GT2560/Configuration.h
  22. 1
    6
      Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
  23. 1
    6
      Marlin/src/config/examples/Infitary/i3-M508/Configuration.h
  24. 1
    6
      Marlin/src/config/examples/Malyan/M150/Configuration.h
  25. 1
    6
      Marlin/src/config/examples/Micromake/C1/basic/Configuration.h
  26. 1
    6
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h
  27. 1
    6
      Marlin/src/config/examples/Mks/Sbase/Configuration.h
  28. 1
    6
      Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h
  29. 1
    6
      Marlin/src/config/examples/RigidBot/Configuration.h
  30. 1
    6
      Marlin/src/config/examples/SCARA/Configuration.h
  31. 1
    6
      Marlin/src/config/examples/Sanguinololu/Configuration.h
  32. 1
    6
      Marlin/src/config/examples/TinyBoy2/Configuration.h
  33. 1
    6
      Marlin/src/config/examples/Velleman/K8200/Configuration.h
  34. 1
    6
      Marlin/src/config/examples/Velleman/K8400/Configuration.h
  35. 1
    6
      Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h
  36. 1
    6
      Marlin/src/config/examples/adafruit/ST7565/Configuration.h
  37. 1
    6
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h
  38. 1
    6
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h
  39. 1
    6
      Marlin/src/config/examples/delta/generic/Configuration.h
  40. 1
    6
      Marlin/src/config/examples/delta/kossel_mini/Configuration.h
  41. 1
    6
      Marlin/src/config/examples/delta/kossel_pro/Configuration.h
  42. 1
    6
      Marlin/src/config/examples/delta/kossel_xl/Configuration.h
  43. 1
    6
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h
  44. 1
    6
      Marlin/src/config/examples/makibox/Configuration.h
  45. 1
    6
      Marlin/src/config/examples/stm32f103ret6/Configuration.h
  46. 1
    6
      Marlin/src/config/examples/tvrrug/Round2/Configuration.h
  47. 1
    6
      Marlin/src/config/examples/wt150/Configuration.h
  48. 1
    1
      Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp
  49. 20
    6
      Marlin/src/module/configuration_store.cpp

+ 1
- 6
Marlin/Configuration.h 查看文件

@@ -854,12 +854,7 @@
854 854
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
855 855
  *   A comprehensive bed leveling system combining the features and benefits
856 856
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
857
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
858
- *   for Cartesian Printers. That said, it was primarily designed to correct
859
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
860
- *   please post an issue if something doesn't work correctly. Initially,
861
- *   you will need to set a reduced bed size so you have a rectangular area
862
- *   to test on.
857
+ *   Validation and Mesh Editing systems. 
863 858
  *
864 859
  * - MESH_BED_LEVELING
865 860
  *   Probe a grid manually

+ 4
- 3
Marlin/src/HAL/HAL_AVR/persistent_store_impl.cpp 查看文件

@@ -28,17 +28,17 @@ bool write_data(int &pos, const uint8_t *value, uint16_t size, uint16_t *crc) {
28 28
       if (eeprom_read_byte(p) != v) {
29 29
         SERIAL_ECHO_START();
30 30
         SERIAL_ECHOLNPGM(MSG_ERR_EEPROM_WRITE);
31
-        return false;
31
+        return true;
32 32
       }
33 33
     }
34 34
     crc16(crc, &v, 1);
35 35
     pos++;
36 36
     value++;
37 37
   };
38
-  return true;
38
+  return false;
39 39
 }
40 40
 
41
-void read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc) {
41
+bool read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc) {
42 42
   do {
43 43
     uint8_t c = eeprom_read_byte((unsigned char*)pos);
44 44
     *value = c;
@@ -46,6 +46,7 @@ void read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc) {
46 46
     pos++;
47 47
     value++;
48 48
   } while (--size);
49
+  return false;  // always assume success for AVR's
49 50
 }
50 51
 
51 52
 }

+ 4
- 3
Marlin/src/HAL/HAL_DUE/persistent_store_impl.cpp 查看文件

@@ -28,17 +28,17 @@ bool write_data(int &pos, const uint8_t *value, uint16_t size, uint16_t *crc) {
28 28
       if (eeprom_read_byte(p) != v) {
29 29
         SERIAL_ECHO_START();
30 30
         SERIAL_ECHOLNPGM(MSG_ERR_EEPROM_WRITE);
31
-        return false;
31
+        return true;
32 32
       }
33 33
     }
34 34
     crc16(crc, &v, 1);
35 35
     pos++;
36 36
     value++;
37 37
   };
38
-  return true;
38
+  return false;
39 39
 }
40 40
 
41
-void read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc) {
41
+bool read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc) {
42 42
   do {
43 43
     uint8_t c = eeprom_read_byte((unsigned char*)pos);
44 44
     *value = c;
@@ -46,6 +46,7 @@ void read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc) {
46 46
     pos++;
47 47
     value++;
48 48
   } while (--size);
49
+  return false;
49 50
 }
50 51
 
51 52
 }

+ 78
- 7
Marlin/src/HAL/HAL_LPC1768/persistent_store_impl.cpp 查看文件

@@ -34,7 +34,7 @@ bool access_start() {
34 34
 
35 35
   if (res == FR_OK) {
36 36
     f_lseek(&eeprom_file, file_size);
37
-    while (file_size < E2END && res == FR_OK) {
37
+    while (file_size <= E2END && res == FR_OK) {
38 38
       res = f_write(&eeprom_file, &eeprom_zero, 1, &bytes_written);
39 39
       file_size++;
40 40
     }
@@ -53,21 +53,92 @@ bool access_finish() {
53 53
   return true;
54 54
 }
55 55
 
56
+// File function return codes for type FRESULT   This goes away soon.   But it is helpful right now to see
57
+// the different errors the read_data() and write_data() functions are seeing.
58
+//
59
+//typedef enum {
60
+//      FR_OK = 0,               /* (0) Succeeded */
61
+//      FR_DISK_ERR,             /* (1) A hard error occurred in the low level disk I/O layer */
62
+//      FR_INT_ERR,              /* (2) Assertion failed */
63
+//      FR_NOT_READY,            /* (3) The physical drive cannot work */
64
+//      FR_NO_FILE,              /* (4) Could not find the file */
65
+//      FR_NO_PATH,              /* (5) Could not find the path */
66
+//      FR_INVALID_NAME,         /* (6) The path name format is invalid */
67
+//      FR_DENIED,               /* (7) Access denied due to prohibited access or directory full */
68
+//      FR_EXIST,                /* (8) Access denied due to prohibited access */
69
+//      FR_INVALID_OBJECT,       /* (9) The file/directory object is invalid */
70
+//      FR_WRITE_PROTECTED,      /* (10) The physical drive is write protected */
71
+//      FR_INVALID_DRIVE,        /* (11) The logical drive number is invalid */
72
+//      FR_NOT_ENABLED,          /* (12) The volume has no work area */
73
+//      FR_NO_FILESYSTEM,        /* (13) There is no valid FAT volume */
74
+//      FR_MKFS_ABORTED,         /* (14) The f_mkfs() aborted due to any problem */
75
+//      FR_TIMEOUT,              /* (15) Could not get a grant to access the volume within defined period */
76
+//      FR_LOCKED,               /* (16) The operation is rejected according to the file sharing policy */
77
+//      FR_NOT_ENOUGH_CORE,      /* (17) LFN working buffer could not be allocated */
78
+//      FR_TOO_MANY_OPEN_FILES,  /* (18) Number of open files > FF_FS_LOCK */
79
+//      FR_INVALID_PARAMETER     /* (19) Given parameter is invalid */
80
+//} FRESULT;
81
+
56 82
 bool write_data(int &pos, const uint8_t *value, uint16_t size, uint16_t *crc) {
83
+  FRESULT s;
57 84
   UINT bytes_written = 0;
58
-  f_lseek(&eeprom_file, pos);
59
-  f_write(&eeprom_file, (void *)value, size, &bytes_written);
85
+  s = f_lseek(&eeprom_file, pos);
86
+  if ( s ) {
87
+   SERIAL_PROTOCOLPAIR(" write_data(", pos);         // This extra chit-chat goes away soon.  But it is helpful
88
+   SERIAL_PROTOCOLPAIR(",", (int) value);            // right now to see errors that are happening in the 
89
+   SERIAL_PROTOCOLPAIR(",", (int) size);             // read_data() and write_data() functions
90
+   SERIAL_PROTOCOL("...)\n");
91
+   SERIAL_PROTOCOLPAIR(" f_lseek()=", (int) s);
92
+   SERIAL_PROTOCOL("\n");
93
+   return s;
94
+  }
95
+  s = f_write(&eeprom_file, (void *)value, size, &bytes_written);
96
+  if ( s ) {
97
+   SERIAL_PROTOCOLPAIR(" write_data(", pos);         // This extra chit-chat goes away soon.  But it is helpful
98
+   SERIAL_PROTOCOLPAIR(",", (int) value);            // right now to see errors that are happening in the 
99
+   SERIAL_PROTOCOLPAIR(",", (int) size);             // read_data() and write_data() functions
100
+   SERIAL_PROTOCOL("...)\n");
101
+   SERIAL_PROTOCOLPAIR(" f_write()=", (int) s);
102
+   SERIAL_PROTOCOL("\n");
103
+   SERIAL_PROTOCOLPAIR(" size=",  (int) size);
104
+   SERIAL_PROTOCOLPAIR("\n bytes_written=",  (int) bytes_written);
105
+   SERIAL_PROTOCOL("\n");
106
+   return s;
107
+  }
60 108
   crc16(crc, value, size);
61 109
   pos = pos + size;
62
-  return (bytes_written == size);
110
+  return (bytes_written != size);  // return true for any error
63 111
 }
64 112
 
65
-void read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc) {
113
+bool read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc) {
66 114
   UINT bytes_read = 0;
67
-  f_lseek(&eeprom_file, pos);
68
-  f_read(&eeprom_file, (void *)value, size, &bytes_read);
115
+  FRESULT s;
116
+  s = f_lseek(&eeprom_file, pos);
117
+  if ( s ) {
118
+   SERIAL_PROTOCOLPAIR(" read_data(", pos);          // This extra chit-chat goes away soon.  But it is helpful
119
+   SERIAL_PROTOCOLPAIR(",", (int) value);            // right now to see errors that are happening in the 
120
+   SERIAL_PROTOCOLPAIR(",", (int) size);             // read_data() and write_data() functions
121
+   SERIAL_PROTOCOL("...)\n");
122
+   SERIAL_PROTOCOLPAIR(" f_lseek()=", (int) s);
123
+   SERIAL_PROTOCOL("\n");
124
+   return true;
125
+  }
126
+  s = f_read(&eeprom_file, (void *)value, size, &bytes_read);
127
+  if ( s ) {
128
+   SERIAL_PROTOCOLPAIR(" read_data(", pos);         // This extra chit-chat goes away soon.  But it is helpful
129
+   SERIAL_PROTOCOLPAIR(",", (int) value);           // right now to see errors that are happening in the 
130
+   SERIAL_PROTOCOLPAIR(",", (int) size);            // read_data() and write_data() functions
131
+   SERIAL_PROTOCOL("...)\n");
132
+   SERIAL_PROTOCOLPAIR(" f_write()=", (int) s);
133
+   SERIAL_PROTOCOL("\n");
134
+   SERIAL_PROTOCOLPAIR(" size=",  (int) size);
135
+   SERIAL_PROTOCOLPAIR("\n bytes_read=",  (int) bytes_read);
136
+   SERIAL_PROTOCOL("\n");
137
+   return true;
138
+  }
69 139
   crc16(crc, value, size);
70 140
   pos = pos + size;
141
+  return bytes_read != size;  // return true for any error
71 142
 }
72 143
 
73 144
 } // PersistentStore

+ 3
- 2
Marlin/src/HAL/HAL_STM32F1/persistent_store_impl.cpp 查看文件

@@ -78,15 +78,16 @@ bool write_data(int &pos, const uint8_t *value, uint16_t size, uint16_t *crc) {
78 78
 	}
79 79
 	crc16(crc, value, size);
80 80
 	pos += size;
81
-	return true;
81
+	return false;
82 82
 }
83 83
 
84
-void read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc) {
84
+bool read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc) {
85 85
 	for (int i = 0; i < size; i++) {
86 86
 		value[i] = HAL_STM32F1_eeprom_content [pos + i];
87 87
 	}
88 88
 	crc16(crc, value, size);
89 89
 	pos += size;
90
+        return false;
90 91
 }
91 92
 
92 93
 } // PersistentStore::

+ 4
- 3
Marlin/src/HAL/HAL_TEENSY35_36/persistent_store_impl.cpp 查看文件

@@ -28,17 +28,17 @@ bool write_data(int &pos, const uint8_t *value, uint16_t size, uint16_t *crc) {
28 28
       if (eeprom_read_byte(p) != v) {
29 29
         SERIAL_ECHO_START();
30 30
         SERIAL_ECHOLNPGM(MSG_ERR_EEPROM_WRITE);
31
-        return false;
31
+        return true;
32 32
       }
33 33
     }
34 34
     crc16(crc, &v, 1);
35 35
     pos++;
36 36
     value++;
37 37
   };
38
-  return true;
38
+  return false;
39 39
 }
40 40
 
41
-void read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc) {
41
+bool read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc) {
42 42
   do {
43 43
     uint8_t c = eeprom_read_byte((unsigned char*)pos);
44 44
     *value = c;
@@ -46,6 +46,7 @@ void read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc) {
46 46
     pos++;
47 47
     value++;
48 48
   } while (--size);
49
+  return false;
49 50
 }
50 51
 
51 52
 } // PersistentStore

+ 1
- 1
Marlin/src/HAL/persistent_store_api.h 查看文件

@@ -10,7 +10,7 @@ namespace PersistentStore {
10 10
 bool access_start();
11 11
 bool access_finish();
12 12
 bool write_data(int &pos, const uint8_t *value, uint16_t size, uint16_t *crc);
13
-void read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc);
13
+bool read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc);
14 14
 
15 15
 } // PersistentStore
16 16
 } // HAL

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

@@ -854,12 +854,7 @@
854 854
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
855 855
  *   A comprehensive bed leveling system combining the features and benefits
856 856
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
857
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
858
- *   for Cartesian Printers. That said, it was primarily designed to correct
859
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
860
- *   please post an issue if something doesn't work correctly. Initially,
861
- *   you will need to set a reduced bed size so you have a rectangular area
862
- *   to test on.
857
+ *   Validation and Mesh Editing systems. 
863 858
  *
864 859
  * - MESH_BED_LEVELING
865 860
  *   Probe a grid manually

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

@@ -874,12 +874,7 @@
874 874
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
875 875
  *   A comprehensive bed leveling system combining the features and benefits
876 876
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
877
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
878
- *   for Cartesian Printers. That said, it was primarily designed to correct
879
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
880
- *   please post an issue if something doesn't work correctly. Initially,
881
- *   you will need to set a reduced bed size so you have a rectangular area
882
- *   to test on.
877
+ *   Validation and Mesh Editing systems. 
883 878
  *
884 879
  * - MESH_BED_LEVELING
885 880
  *   Probe a grid manually

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

@@ -854,12 +854,7 @@
854 854
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
855 855
  *   A comprehensive bed leveling system combining the features and benefits
856 856
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
857
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
858
- *   for Cartesian Printers. That said, it was primarily designed to correct
859
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
860
- *   please post an issue if something doesn't work correctly. Initially,
861
- *   you will need to set a reduced bed size so you have a rectangular area
862
- *   to test on.
857
+ *   Validation and Mesh Editing systems. 
863 858
  *
864 859
  * - MESH_BED_LEVELING
865 860
  *   Probe a grid manually

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

@@ -973,12 +973,7 @@
973 973
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
974 974
  *   A comprehensive bed leveling system combining the features and benefits
975 975
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
976
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
977
- *   for Cartesian Printers. That said, it was primarily designed to correct
978
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
979
- *   please post an issue if something doesn't work correctly. Initially,
980
- *   you will need to set a reduced bed size so you have a rectangular area
981
- *   to test on.
976
+ *   Validation and Mesh Editing systems. 
982 977
  *
983 978
  * - MESH_BED_LEVELING
984 979
  *   Probe a grid manually

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

@@ -860,12 +860,7 @@
860 860
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
861 861
  *   A comprehensive bed leveling system combining the features and benefits
862 862
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
863
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
864
- *   for Cartesian Printers. That said, it was primarily designed to correct
865
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
866
- *   please post an issue if something doesn't work correctly. Initially,
867
- *   you will need to set a reduced bed size so you have a rectangular area
868
- *   to test on.
863
+ *   Validation and Mesh Editing systems. 
869 864
  *
870 865
  * - MESH_BED_LEVELING
871 866
  *   Probe a grid manually

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

@@ -845,12 +845,7 @@
845 845
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
846 846
  *   A comprehensive bed leveling system combining the features and benefits
847 847
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
848
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
849
- *   for Cartesian Printers. That said, it was primarily designed to correct
850
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
851
- *   please post an issue if something doesn't work correctly. Initially,
852
- *   you will need to set a reduced bed size so you have a rectangular area
853
- *   to test on.
848
+ *   Validation and Mesh Editing systems. 
854 849
  *
855 850
  * - MESH_BED_LEVELING
856 851
  *   Probe a grid manually

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

@@ -855,12 +855,7 @@
855 855
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
856 856
  *   A comprehensive bed leveling system combining the features and benefits
857 857
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
858
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
859
- *   for Cartesian Printers. That said, it was primarily designed to correct
860
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
861
- *   please post an issue if something doesn't work correctly. Initially,
862
- *   you will need to set a reduced bed size so you have a rectangular area
863
- *   to test on.
858
+ *   Validation and Mesh Editing systems.
864 859
  *
865 860
  * - MESH_BED_LEVELING
866 861
  *   Probe a grid manually

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

@@ -845,12 +845,7 @@
845 845
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
846 846
  *   A comprehensive bed leveling system combining the features and benefits
847 847
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
848
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
849
- *   for Cartesian Printers. That said, it was primarily designed to correct
850
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
851
- *   please post an issue if something doesn't work correctly. Initially,
852
- *   you will need to set a reduced bed size so you have a rectangular area
853
- *   to test on.
848
+ *   Validation and Mesh Editing systems. 
854 849
  *
855 850
  * - MESH_BED_LEVELING
856 851
  *   Probe a grid manually

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

@@ -853,12 +853,7 @@
853 853
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
854 854
  *   A comprehensive bed leveling system combining the features and benefits
855 855
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
856
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
857
- *   for Cartesian Printers. That said, it was primarily designed to correct
858
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
859
- *   please post an issue if something doesn't work correctly. Initially,
860
- *   you will need to set a reduced bed size so you have a rectangular area
861
- *   to test on.
856
+ *   Validation and Mesh Editing systems. 
862 857
  *
863 858
  * - MESH_BED_LEVELING
864 859
  *   Probe a grid manually

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

@@ -864,12 +864,7 @@
864 864
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
865 865
  *   A comprehensive bed leveling system combining the features and benefits
866 866
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
867
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
868
- *   for Cartesian Printers. That said, it was primarily designed to correct
869
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
870
- *   please post an issue if something doesn't work correctly. Initially,
871
- *   you will need to set a reduced bed size so you have a rectangular area
872
- *   to test on.
867
+ *   Validation and Mesh Editing systems. 
873 868
  *
874 869
  * - MESH_BED_LEVELING
875 870
  *   Probe a grid manually

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

@@ -836,12 +836,7 @@
836 836
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
837 837
  *   A comprehensive bed leveling system combining the features and benefits
838 838
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
839
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
840
- *   for Cartesian Printers. That said, it was primarily designed to correct
841
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
842
- *   please post an issue if something doesn't work correctly. Initially,
843
- *   you will need to set a reduced bed size so you have a rectangular area
844
- *   to test on.
839
+ *   Validation and Mesh Editing systems. 
845 840
  *
846 841
  * - MESH_BED_LEVELING
847 842
  *   Probe a grid manually

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

@@ -836,12 +836,7 @@
836 836
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
837 837
  *   A comprehensive bed leveling system combining the features and benefits
838 838
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
839
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
840
- *   for Cartesian Printers. That said, it was primarily designed to correct
841
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
842
- *   please post an issue if something doesn't work correctly. Initially,
843
- *   you will need to set a reduced bed size so you have a rectangular area
844
- *   to test on.
839
+ *   Validation and Mesh Editing systems. 
845 840
  *
846 841
  * - MESH_BED_LEVELING
847 842
  *   Probe a grid manually

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

@@ -634,7 +634,7 @@
634 634
  * Z Servo Probe, such as an endstop switch on a rotating arm.
635 635
  */
636 636
 #define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
637
-#define Z_SERVO_ANGLES {40,85}  // Z Servo Deploy and Stow angles
637
+#define Z_SERVO_ANGLES {40,95}  // Z Servo Deploy and Stow angles
638 638
 
639 639
 /**
640 640
  * The BLTouch probe uses a Hall effect sensor and emulates a servo.
@@ -851,12 +851,7 @@
851 851
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
852 852
  *   A comprehensive bed leveling system combining the features and benefits
853 853
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
854
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
855
- *   for Cartesian Printers. That said, it was primarily designed to correct
856
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
857
- *   please post an issue if something doesn't work correctly. Initially,
858
- *   you will need to set a reduced bed size so you have a rectangular area
859
- *   to test on.
854
+ *   Validation and Mesh Editing systems. 
860 855
  *
861 856
  * - MESH_BED_LEVELING
862 857
  *   Probe a grid manually

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

@@ -869,12 +869,7 @@
869 869
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
870 870
  *   A comprehensive bed leveling system combining the features and benefits
871 871
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
872
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
873
- *   for Cartesian Printers. That said, it was primarily designed to correct
874
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
875
- *   please post an issue if something doesn't work correctly. Initially,
876
- *   you will need to set a reduced bed size so you have a rectangular area
877
- *   to test on.
872
+ *   Validation and Mesh Editing systems. 
878 873
  *
879 874
  * - MESH_BED_LEVELING
880 875
  *   Probe a grid manually

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

@@ -854,12 +854,7 @@
854 854
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
855 855
  *   A comprehensive bed leveling system combining the features and benefits
856 856
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
857
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
858
- *   for Cartesian Printers. That said, it was primarily designed to correct
859
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
860
- *   please post an issue if something doesn't work correctly. Initially,
861
- *   you will need to set a reduced bed size so you have a rectangular area
862
- *   to test on.
857
+ *   Validation and Mesh Editing systems. 
863 858
  *
864 859
  * - MESH_BED_LEVELING
865 860
  *   Probe a grid manually

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

@@ -858,12 +858,7 @@
858 858
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
859 859
  *   A comprehensive bed leveling system combining the features and benefits
860 860
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
861
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
862
- *   for Cartesian Printers. That said, it was primarily designed to correct
863
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
864
- *   please post an issue if something doesn't work correctly. Initially,
865
- *   you will need to set a reduced bed size so you have a rectangular area
866
- *   to test on.
861
+ *   Validation and Mesh Editing systems. 
867 862
  *
868 863
  * - MESH_BED_LEVELING
869 864
  *   Probe a grid manually

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

@@ -878,12 +878,7 @@
878 878
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
879 879
  *   A comprehensive bed leveling system combining the features and benefits
880 880
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
881
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
882
- *   for Cartesian Printers. That said, it was primarily designed to correct
883
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
884
- *   please post an issue if something doesn't work correctly. Initially,
885
- *   you will need to set a reduced bed size so you have a rectangular area
886
- *   to test on.
881
+ *   Validation and Mesh Editing systems. 
887 882
  *
888 883
  * - MESH_BED_LEVELING
889 884
  *   Probe a grid manually

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

@@ -853,12 +853,7 @@
853 853
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
854 854
  *   A comprehensive bed leveling system combining the features and benefits
855 855
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
856
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
857
- *   for Cartesian Printers. That said, it was primarily designed to correct
858
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
859
- *   please post an issue if something doesn't work correctly. Initially,
860
- *   you will need to set a reduced bed size so you have a rectangular area
861
- *   to test on.
856
+ *   Validation and Mesh Editing systems. 
862 857
  *
863 858
  * - MESH_BED_LEVELING
864 859
  *   Probe a grid manually

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

@@ -853,12 +853,7 @@
853 853
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
854 854
  *   A comprehensive bed leveling system combining the features and benefits
855 855
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
856
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
857
- *   for Cartesian Printers. That said, it was primarily designed to correct
858
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
859
- *   please post an issue if something doesn't work correctly. Initially,
860
- *   you will need to set a reduced bed size so you have a rectangular area
861
- *   to test on.
856
+ *   Validation and Mesh Editing systems. 
862 857
  *
863 858
  * - MESH_BED_LEVELING
864 859
  *   Probe a grid manually

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

@@ -856,12 +856,7 @@
856 856
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
857 857
  *   A comprehensive bed leveling system combining the features and benefits
858 858
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
859
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
860
- *   for Cartesian Printers. That said, it was primarily designed to correct
861
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
862
- *   please post an issue if something doesn't work correctly. Initially,
863
- *   you will need to set a reduced bed size so you have a rectangular area
864
- *   to test on.
859
+ *   Validation and Mesh Editing systems. 
865 860
  *
866 861
  * - MESH_BED_LEVELING
867 862
  *   Probe a grid manually

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

@@ -854,12 +854,7 @@
854 854
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
855 855
  *   A comprehensive bed leveling system combining the features and benefits
856 856
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
857
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
858
- *   for Cartesian Printers. That said, it was primarily designed to correct
859
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
860
- *   please post an issue if something doesn't work correctly. Initially,
861
- *   you will need to set a reduced bed size so you have a rectangular area
862
- *   to test on.
857
+ *   Validation and Mesh Editing systems. 
863 858
  *
864 859
  * - MESH_BED_LEVELING
865 860
  *   Probe a grid manually

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

@@ -852,12 +852,7 @@
852 852
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
853 853
  *   A comprehensive bed leveling system combining the features and benefits
854 854
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
855
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
856
- *   for Cartesian Printers. That said, it was primarily designed to correct
857
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
858
- *   please post an issue if something doesn't work correctly. Initially,
859
- *   you will need to set a reduced bed size so you have a rectangular area
860
- *   to test on.
855
+ *   Validation and Mesh Editing systems.
861 856
  *
862 857
  * - MESH_BED_LEVELING
863 858
  *   Probe a grid manually

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

@@ -866,12 +866,7 @@
866 866
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
867 867
  *   A comprehensive bed leveling system combining the features and benefits
868 868
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
869
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
870
- *   for Cartesian Printers. That said, it was primarily designed to correct
871
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
872
- *   please post an issue if something doesn't work correctly. Initially,
873
- *   you will need to set a reduced bed size so you have a rectangular area
874
- *   to test on.
869
+ *   Validation and Mesh Editing systems.
875 870
  *
876 871
  * - MESH_BED_LEVELING
877 872
  *   Probe a grid manually

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

@@ -885,12 +885,7 @@
885 885
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
886 886
  *   A comprehensive bed leveling system combining the features and benefits
887 887
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
888
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
889
- *   for Cartesian Printers. That said, it was primarily designed to correct
890
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
891
- *   please post an issue if something doesn't work correctly. Initially,
892
- *   you will need to set a reduced bed size so you have a rectangular area
893
- *   to test on.
888
+ *   Validation and Mesh Editing systems.
894 889
  *
895 890
  * - MESH_BED_LEVELING
896 891
  *   Probe a grid manually

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

@@ -910,12 +910,7 @@
910 910
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
911 911
  *   A comprehensive bed leveling system combining the features and benefits
912 912
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
913
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
914
- *   for Cartesian Printers. That said, it was primarily designed to correct
915
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
916
- *   please post an issue if something doesn't work correctly. Initially,
917
- *   you will need to set a reduced bed size so you have a rectangular area
918
- *   to test on.
913
+ *   Validation and Mesh Editing systems.
919 914
  *
920 915
  * - MESH_BED_LEVELING
921 916
  *   Probe a grid manually

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

@@ -884,12 +884,7 @@
884 884
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
885 885
  *   A comprehensive bed leveling system combining the features and benefits
886 886
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
887
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
888
- *   for Cartesian Printers. That said, it was primarily designed to correct
889
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
890
- *   please post an issue if something doesn't work correctly. Initially,
891
- *   you will need to set a reduced bed size so you have a rectangular area
892
- *   to test on.
887
+ *   Validation and Mesh Editing systems.
893 888
  *
894 889
  * - MESH_BED_LEVELING
895 890
  *   Probe a grid manually

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

@@ -854,12 +854,7 @@
854 854
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
855 855
  *   A comprehensive bed leveling system combining the features and benefits
856 856
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
857
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
858
- *   for Cartesian Printers. That said, it was primarily designed to correct
859
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
860
- *   please post an issue if something doesn't work correctly. Initially,
861
- *   you will need to set a reduced bed size so you have a rectangular area
862
- *   to test on.
857
+ *   Validation and Mesh Editing systems.
863 858
  *
864 859
  * - MESH_BED_LEVELING
865 860
  *   Probe a grid manually

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

@@ -854,12 +854,7 @@
854 854
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
855 855
  *   A comprehensive bed leveling system combining the features and benefits
856 856
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
857
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
858
- *   for Cartesian Printers. That said, it was primarily designed to correct
859
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
860
- *   please post an issue if something doesn't work correctly. Initially,
861
- *   you will need to set a reduced bed size so you have a rectangular area
862
- *   to test on.
857
+ *   Validation and Mesh Editing systems.
863 858
  *
864 859
  * - MESH_BED_LEVELING
865 860
  *   Probe a grid manually

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

@@ -854,12 +854,7 @@
854 854
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
855 855
  *   A comprehensive bed leveling system combining the features and benefits
856 856
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
857
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
858
- *   for Cartesian Printers. That said, it was primarily designed to correct
859
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
860
- *   please post an issue if something doesn't work correctly. Initially,
861
- *   you will need to set a reduced bed size so you have a rectangular area
862
- *   to test on.
857
+ *   Validation and Mesh Editing systems. 
863 858
  *
864 859
  * - MESH_BED_LEVELING
865 860
  *   Probe a grid manually

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

@@ -978,12 +978,7 @@
978 978
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
979 979
  *   A comprehensive bed leveling system combining the features and benefits
980 980
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
981
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
982
- *   for Cartesian Printers. That said, it was primarily designed to correct
983
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
984
- *   please post an issue if something doesn't work correctly. Initially,
985
- *   you will need to set a reduced bed size so you have a rectangular area
986
- *   to test on.
981
+ *   Validation and Mesh Editing systems. 
987 982
  *
988 983
  * - MESH_BED_LEVELING
989 984
  *   Probe a grid manually

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

@@ -978,12 +978,7 @@
978 978
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
979 979
  *   A comprehensive bed leveling system combining the features and benefits
980 980
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
981
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
982
- *   for Cartesian Printers. That said, it was primarily designed to correct
983
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
984
- *   please post an issue if something doesn't work correctly. Initially,
985
- *   you will need to set a reduced bed size so you have a rectangular area
986
- *   to test on.
981
+ *   Validation and Mesh Editing systems. 
987 982
  *
988 983
  * - MESH_BED_LEVELING
989 984
  *   Probe a grid manually

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

@@ -965,12 +965,7 @@
965 965
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
966 966
  *   A comprehensive bed leveling system combining the features and benefits
967 967
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
968
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
969
- *   for Cartesian Printers. That said, it was primarily designed to correct
970
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
971
- *   please post an issue if something doesn't work correctly. Initially,
972
- *   you will need to set a reduced bed size so you have a rectangular area
973
- *   to test on.
968
+ *   Validation and Mesh Editing systems. 
974 969
  *
975 970
  * - MESH_BED_LEVELING
976 971
  *   Probe a grid manually

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

@@ -968,12 +968,7 @@
968 968
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
969 969
  *   A comprehensive bed leveling system combining the features and benefits
970 970
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
971
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
972
- *   for Cartesian Printers. That said, it was primarily designed to correct
973
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
974
- *   please post an issue if something doesn't work correctly. Initially,
975
- *   you will need to set a reduced bed size so you have a rectangular area
976
- *   to test on.
971
+ *   Validation and Mesh Editing systems.
977 972
  *
978 973
  * - MESH_BED_LEVELING
979 974
  *   Probe a grid manually

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

@@ -968,12 +968,7 @@
968 968
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
969 969
  *   A comprehensive bed leveling system combining the features and benefits
970 970
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
971
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
972
- *   for Cartesian Printers. That said, it was primarily designed to correct
973
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
974
- *   please post an issue if something doesn't work correctly. Initially,
975
- *   you will need to set a reduced bed size so you have a rectangular area
976
- *   to test on.
971
+ *   Validation and Mesh Editing systems. 
977 972
  *
978 973
  * - MESH_BED_LEVELING
979 974
  *   Probe a grid manually

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

@@ -977,12 +977,7 @@
977 977
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
978 978
  *   A comprehensive bed leveling system combining the features and benefits
979 979
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
980
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
981
- *   for Cartesian Printers. That said, it was primarily designed to correct
982
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
983
- *   please post an issue if something doesn't work correctly. Initially,
984
- *   you will need to set a reduced bed size so you have a rectangular area
985
- *   to test on.
980
+ *   Validation and Mesh Editing systems. 
986 981
  *
987 982
  * - MESH_BED_LEVELING
988 983
  *   Probe a grid manually

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

@@ -868,12 +868,7 @@
868 868
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
869 869
  *   A comprehensive bed leveling system combining the features and benefits
870 870
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
871
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
872
- *   for Cartesian Printers. That said, it was primarily designed to correct
873
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
874
- *   please post an issue if something doesn't work correctly. Initially,
875
- *   you will need to set a reduced bed size so you have a rectangular area
876
- *   to test on.
871
+ *   Validation and Mesh Editing systems. 
877 872
  *
878 873
  * - MESH_BED_LEVELING
879 874
  *   Probe a grid manually

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

@@ -857,12 +857,7 @@
857 857
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
858 858
  *   A comprehensive bed leveling system combining the features and benefits
859 859
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
860
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
861
- *   for Cartesian Printers. That said, it was primarily designed to correct
862
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
863
- *   please post an issue if something doesn't work correctly. Initially,
864
- *   you will need to set a reduced bed size so you have a rectangular area
865
- *   to test on.
860
+ *   Validation and Mesh Editing systems. 
866 861
  *
867 862
  * - MESH_BED_LEVELING
868 863
  *   Probe a grid manually

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

@@ -841,12 +841,7 @@
841 841
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
842 842
  *   A comprehensive bed leveling system combining the features and benefits
843 843
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
844
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
845
- *   for Cartesian Printers. That said, it was primarily designed to correct
846
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
847
- *   please post an issue if something doesn't work correctly. Initially,
848
- *   you will need to set a reduced bed size so you have a rectangular area
849
- *   to test on.
844
+ *   Validation and Mesh Editing systems.
850 845
  *
851 846
  * - MESH_BED_LEVELING
852 847
  *   Probe a grid manually

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

@@ -849,12 +849,7 @@
849 849
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
850 850
  *   A comprehensive bed leveling system combining the features and benefits
851 851
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
852
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
853
- *   for Cartesian Printers. That said, it was primarily designed to correct
854
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
855
- *   please post an issue if something doesn't work correctly. Initially,
856
- *   you will need to set a reduced bed size so you have a rectangular area
857
- *   to test on.
852
+ *   Validation and Mesh Editing systems.
858 853
  *
859 854
  * - MESH_BED_LEVELING
860 855
  *   Probe a grid manually

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

@@ -859,12 +859,7 @@
859 859
  * - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
860 860
  *   A comprehensive bed leveling system combining the features and benefits
861 861
  *   of other systems. UBL also includes integrated Mesh Generation, Mesh
862
- *   Validation and Mesh Editing systems. Currently, UBL is only checked out
863
- *   for Cartesian Printers. That said, it was primarily designed to correct
864
- *   poor quality Delta Printers. If you feel adventurous and have a Delta,
865
- *   please post an issue if something doesn't work correctly. Initially,
866
- *   you will need to set a reduced bed size so you have a rectangular area
867
- *   to test on.
862
+ *   Validation and Mesh Editing systems.
868 863
  *
869 864
  * - MESH_BED_LEVELING
870 865
  *   Probe a grid manually

+ 1
- 1
Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp 查看文件

@@ -668,7 +668,7 @@
668 668
     }
669 669
 
670 670
     if (parser.seen('T'))
671
-      display_map(parser.has_value() ? parser.value_int() : 0);
671
+      display_map(g29_map_type);
672 672
 
673 673
     LEAVE:
674 674
 

+ 20
- 6
Marlin/src/module/configuration_store.cpp 查看文件

@@ -632,12 +632,12 @@ void MarlinSettings::postprocess() {
632 632
         SERIAL_ECHOLNPGM(")");
633 633
       #endif
634 634
     }
635
+    EEPROM_FINISH();
635 636
 
636 637
     #if ENABLED(UBL_SAVE_ACTIVE_ON_M500)
637 638
       if (ubl.storage_slot >= 0)
638 639
         store_mesh(ubl.storage_slot);
639 640
     #endif
640
-    EEPROM_FINISH();
641 641
     return !eeprom_error;
642 642
   }
643 643
 
@@ -1073,14 +1073,21 @@ void MarlinSettings::postprocess() {
1073 1073
         }
1074 1074
 
1075 1075
         uint16_t crc = 0;
1076
+        bool status;
1076 1077
         int pos = meshes_end - (slot + 1) * sizeof(ubl.z_values);
1077 1078
 
1078
-        HAL::PersistentStore::write_data(pos, (uint8_t *)&ubl.z_values, sizeof(ubl.z_values), &crc);
1079
+        HAL::PersistentStore::access_start();
1080
+        status = HAL::PersistentStore::write_data(pos, (uint8_t *)&ubl.z_values, sizeof(ubl.z_values), &crc);
1081
+        HAL::PersistentStore::access_finish();
1082
+
1083
+        if (status)
1084
+          SERIAL_PROTOCOL("?Unable to save mesh data.\n");
1079 1085
 
1080 1086
         // Write crc to MAT along with other data, or just tack on to the beginning or end
1081 1087
 
1082 1088
         #if ENABLED(EEPROM_CHITCHAT)
1083
-          SERIAL_PROTOCOLLNPAIR("Mesh saved in slot ", slot);
1089
+          if (!status)
1090
+            SERIAL_PROTOCOLLNPAIR("Mesh saved in slot ", slot);
1084 1091
         #endif
1085 1092
 
1086 1093
       #else
@@ -1106,13 +1113,20 @@ void MarlinSettings::postprocess() {
1106 1113
         uint16_t crc = 0;
1107 1114
         int pos = meshes_end - (slot + 1) * sizeof(ubl.z_values);
1108 1115
         uint8_t * const dest = into ? (uint8_t*)into : (uint8_t*)&ubl.z_values;
1109
-        HAL::PersistentStore::read_data(pos, dest, sizeof(ubl.z_values), &crc);
1116
+        uint16_t status;
1110 1117
 
1111
-        // Compare crc with crc from MAT, or read from end
1118
+        HAL::PersistentStore::access_start();
1119
+        status = HAL::PersistentStore::read_data(pos, dest, sizeof(ubl.z_values), &crc);
1120
+        HAL::PersistentStore::access_finish();
1121
+
1122
+        if (status)
1123
+          SERIAL_PROTOCOL("?Unable to load mesh data.\n");
1112 1124
 
1113 1125
         #if ENABLED(EEPROM_CHITCHAT)
1114
-          SERIAL_PROTOCOLLNPAIR("Mesh loaded from slot ", slot);
1126
+          else
1127
+            SERIAL_PROTOCOLLNPAIR("Mesh loaded from slot ", slot);
1115 1128
         #endif
1129
+        EEPROM_FINISH();
1116 1130
 
1117 1131
       #else
1118 1132
 

Loading…
取消
儲存